summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-12-14 15:18:18 +0100
committerAlan Pearce2017-12-14 15:18:18 +0100
commitfc361bf760dc3ea9ef657d4f16ecce7bbc5b4660 (patch)
tree92814d3fe5621479489ab80a289988d53456c148 /modules
parent18c8166b4feaae28e604cd2958e3696c49b77b69 (diff)
downloadnixfiles-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.tar.lz
nixfiles-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.tar.zst
nixfiles-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.zip
nix: Fix double auto-upgrade
Diffstat (limited to 'modules')
-rw-r--r--modules/configuration/nix.nix2
1 files changed, 1 insertions, 1 deletions
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}
     '';
   };