home-manager/laptop.nix

30 lines
636 B
Nix
Raw Normal View History

2023-08-30 20:51:38 +00:00
{pkgs, ...}: {
config.targets.genericLinux.enable = true;
2023-08-30 20:51:38 +00:00
config.home.packages = with pkgs; [
gnome-console
2023-09-06 15:56:55 +00:00
auto-cpufreq
2023-08-30 20:51:38 +00:00
];
config.programs.bash.shellAliases = {
hms = "home-manager switch --flake $HOME/.config/home-manager#laptop";
};
2023-09-18 13:30:35 +00:00
config.services = {
syncthing.enable = true;
};
# Changes specific to the laptop
config.dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
power-button-action = "nothing";
};
};
2023-09-18 13:30:35 +00:00
config.nix = {
package = pkgs.nix;
settings.experimental-features = ["nix-command" "flakes"];
};
}