home-manager/systems/pc/default.nix

21 lines
451 B
Nix
Raw Normal View History

{
pkgs,
# options,
...
}: {
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";
};
};
services.obs.autostart = true;
}