changed structure to accommodate laptop
This commit is contained in:
14
pc/default.nix
Normal file
14
pc/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user