home-manager/systems/pc/default.nix

17 lines
426 B
Nix
Raw Normal View History

2024-02-16 16:45:51 +00:00
{...}: {
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";
};
};
2024-02-16 16:45:51 +00:00
programs.obs.autostart = true;
}