home-manager/laptop.nix

20 lines
452 B
Nix

{pkgs, ...}: {
config.targets.genericLinux.enable = true;
config.home.packages = with pkgs; [
gnome-console
];
config.programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#laptop";
};
# Changes specific to the laptop
config.dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
power-button-action = "nothing";
};
};
}