1
0

Use update on boot instead of persistent

This commit is contained in:
dump_stack() 2019-08-07 18:37:24 +00:00
parent b706994b53
commit 9abe25e0b7
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -55,8 +55,7 @@ in {
systemd.services.nixos-upgrade.serviceConfig.ExecStartPre = systemd.services.nixos-upgrade.serviceConfig.ExecStartPre =
"${pkgs.nix}/bin/nix-channel --update"; "${pkgs.nix}/bin/nix-channel --update";
# force run if device was offline 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;