From fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 14 Dec 2017 15:18:18 +0100 Subject: nix: Fix double auto-upgrade --- modules/configuration/nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/configuration/nix.nix b/modules/configuration/nix.nix index bed00b7a..e20a6fcb 100644 --- a/modules/configuration/nix.nix +++ b/modules/configuration/nix.nix @@ -25,7 +25,7 @@ enable = true; }; systemd.services.nixos-upgrade = { - script = '' + script = pkgs.lib.mkForce '' ${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot ${toString config.system.autoUpgrade.flags} ''; }; -- cgit 1.4.1