diff options
author | Alan Pearce | 2017-12-14 15:18:18 +0100 |
---|---|---|
committer | Alan Pearce | 2017-12-14 15:18:18 +0100 |
commit | fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660 (patch) | |
tree | 92814d3fe5621479489ab80a289988d53456c148 | |
parent | 18c8166b4feaae28e604cd2958e3696c49b77b69 (diff) | |
download | nixos-configuration-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.tar.lz nixos-configuration-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.tar.zst nixos-configuration-fc361bf760dc3ea9ef657d4f16ecce7bbc5b4660.zip |
nix: Fix double auto-upgrade
-rw-r--r-- | modules/configuration/nix.nix | 2 |
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} ''; }; |