home-manager/laptop/default.nix

15 lines
352 B
Nix
Raw Normal View History

{...}: {
config.targets.genericLinux.enable = false;
config.programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#laptop";
};
config.dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "suspend";
power-button-action = "hibernate";
};
};
}