Use persistent for upgrade timer
This commit is contained in:
@@ -56,6 +56,7 @@ in {
|
|||||||
"${pkgs.nix}/bin/nix-channel --update";
|
"${pkgs.nix}/bin/nix-channel --update";
|
||||||
|
|
||||||
systemd.timers.nixos-upgrade.timerConfig.OnBootSec = "30m";
|
systemd.timers.nixos-upgrade.timerConfig.OnBootSec = "30m";
|
||||||
|
systemd.timers.nixos-upgrade.timerConfig.Persistent = true;
|
||||||
|
|
||||||
system.stateVersion = "19.03";
|
system.stateVersion = "19.03";
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
|
Reference in New Issue
Block a user