home-manager/systems/pc/default.nix
2024-02-16 17:45:51 +01:00

17 lines
426 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";
};
};
programs.obs.autostart = true;
}