add autoUpgrade

This commit is contained in:
Melvin Ragusa
2026-02-05 09:05:32 +01:00
parent aa418bde6c
commit deebe60245
2 changed files with 18 additions and 14 deletions

View File

@@ -20,10 +20,14 @@
];
};
#Automatic updating
system.autoUpgrade.enable = true;
system.autoUpgrade.dates = "weekly";
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
dates = "daily";
options = "--delete-older-than 10d";
};
nixpkgs.config.allowUnfree = true;