Add thinkpad host

This commit is contained in:
Yan Lin 2025-09-12 21:47:40 +02:00
parent bb38eee42f
commit 6595af21c7
6 changed files with 659 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
# Import the common NixOS home configuration
imports = [ ../home-default.nix ];
# Any ThinkPad-specific home configurations can be added here
# For example, laptop-specific aliases or scripts
programs.zsh.shellAliases = {
# Battery status alias
battery = "acpi -b";
# NVIDIA offload aliases for running applications on discrete GPU
nvidia-run = "nvidia-offload";
# Brightness control aliases
brightness-up = "brightnessctl set +10%";
brightness-down = "brightnessctl set 10%-";
};
}