Add thinkpad host
This commit is contained in:
parent
bb38eee42f
commit
6595af21c7
6 changed files with 659 additions and 0 deletions
21
hosts/nixos/thinkpad/home.nix
Normal file
21
hosts/nixos/thinkpad/home.nix
Normal 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%-";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue