changed structure to accommodate laptop

This commit is contained in:
2023-09-22 22:13:46 +02:00
parent bd4a1763b4
commit 3ec72fc172
25 changed files with 36 additions and 55 deletions

14
pc/default.nix Normal file
View File

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