nix-configs/modules/common/nix.nix
2024-09-05 19:08:29 -04:00

31 lines
634 B
Nix

{ ... }:
{
programs.git.enable = true;
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 7d";
};
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
optimise.automatic = true;
};
nixpkgs.overlays = [
(import ../../overlays/recyclarr.nix)
(import ../../overlays/zwave-js-ui.nix)
];
system.autoUpgrade = {
enable = true;
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "06:00";
};
};
}