mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:13: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
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
system.autoUpgrade.enable = false;
|
system.autoUpgrade = {
|
||||||
system.autoUpgrade.allowReboot = false;
|
enable = true;
|
||||||
|
allowReboot = false;
|
||||||
|
flake = "github:alychace/nixcfg";
|
||||||
|
dates = "daily";
|
||||||
|
operation = "boot";
|
||||||
|
};
|
||||||
|
|
||||||
# Delete generations older than 7 days.
|
# Delete generations older than 7 days.
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
|
|
Loading…
Reference in a new issue