1
0

Use persistent for upgrade timer

This commit is contained in:
dump_stack() 2019-08-09 08:27:21 +00:00
parent 70b8fa29ab
commit c263876d9e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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;