diff --git a/configuration.nix b/configuration.nix index 9bfbb7c..c7e48ab 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;