added autoupgrade with flake daily on boot

This commit is contained in:
Aly Raffauf 2024-03-01 12:13:33 -05:00
parent 35a2362e75
commit c5eefe187e

View file

@ -4,8 +4,13 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
system.autoUpgrade.enable = false;
system.autoUpgrade.allowReboot = false;
system.autoUpgrade = {
enable = true;
allowReboot = false;
flake = "github:alychace/nixcfg";
dates = "daily";
operation = "boot";
};
# Delete generations older than 7 days.
nix.gc = {