home-manager/pc/default.nix

15 lines
392 B
Nix
Raw Normal View History

{...}: {
2023-09-24 23:29:53 +00:00
targets.genericLinux.enable = false;
2023-09-24 23:29:53 +00:00
programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#pc";
};
2023-09-24 23:29:53 +00:00
dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop
power-button-action = "suspend";
};
};
}