summary refs log tree commit diff stats
path: root/modules/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'modules/configuration')
-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 bed00b7..e20a6fc 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}
     '';
   };