alias for per device home-manager swithing

This commit is contained in:
Kristian Krsnik 2023-08-31 14:59:22 +02:00
parent 9e1438f949
commit cf9b2896e0
2 changed files with 8 additions and 0 deletions

View File

@ -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" = {

4
pc.nix
View File

@ -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