1
0

Force run nixos-upgrade if device was offline

This commit is contained in:
dump_stack() 2019-08-04 09:11:45 +00:00
parent 7e7bf3110d
commit b706994b53
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -55,6 +55,9 @@ in {
systemd.services.nixos-upgrade.serviceConfig.ExecStartPre =
"${pkgs.nix}/bin/nix-channel --update";
# force run if device was offline
systemd.timers.nixos-upgrade.timerConfig.Persistent = true;
system.stateVersion = "19.03";
system.autoUpgrade.enable = true;