home-manager/systems/pc/default.nix
Kristian Krsnik a2cd8d467f
restructured
* laptop, pc and common now live in systems
* new dev shell to run dconf2nix
* New dconf weather entry (currently not functional)
2023-09-25 20:02:11 +02:00

15 lines
392 B
Nix

{...}: {
targets.genericLinux.enable = false;
programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#pc";
};
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";
};
};
}