diff --git a/laptop.nix b/laptop.nix index aa6d917..f957c33 100644 --- a/laptop.nix +++ b/laptop.nix @@ -5,6 +5,10 @@ gnome-console ]; + config.programs.bash.shellAliases = { + hms = "home-manager switch --flake $HOME/.config/home-manager#laptop"; + }; + # Changes specific to the laptop config.dconf.settings = { "org/gnome/settings-daemon/plugins/power" = { diff --git a/pc.nix b/pc.nix index 8da81db..bb8e3de 100644 --- a/pc.nix +++ b/pc.nix @@ -9,6 +9,10 @@ osu-lazer ]; + config.programs.bash.shellAliases = { + hms = "home-manager switch --flake $HOME/.config/home-manager#pc"; + }; + config.dconf.settings = { "org/gnome/settings-daemon/plugins/power" = { sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop