From 9abe25e0b7a09b48f741629c44ff3759bfc723b7 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 7 Aug 2019 18:37:24 +0000 Subject: [PATCH] Use update on boot instead of persistent --- configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index c7e48ab..a5a0e2a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -55,8 +55,7 @@ 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; + systemd.timers.nixos-upgrade.timerConfig.OnBootSec = "30m"; system.stateVersion = "19.03"; system.autoUpgrade.enable = true;