mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 03:33:55 -05:00
added autoupgrade with flake daily on boot
This commit is contained in:
parent
35a2362e75
commit
c5eefe187e
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue