21 lines
520 B
Nix
21 lines
520 B
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
nix-output-monitor
|
|
];
|
|
nix = {
|
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
|
gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 30d";
|
|
dates = "weekly";
|
|
};
|
|
optimise.automatic = true;
|
|
};
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
|
|
allowReboot = true;
|
|
rebootWindow = { lower = "02:00"; upper = "06:00"; };
|
|
};
|
|
}
|