diff --git a/modules/flakes.nix b/modules/flakes.nix index cb990c7..e52c87f 100644 --- a/modules/flakes.nix +++ b/modules/flakes.nix @@ -20,6 +20,7 @@ in ''; system.autoUpgrade.flake = cfg.rebuildPath; + system.autoUpgrade.flags = [ (lib.optionalString (cfg.rebuildPath == "/etc/nixos") "--recreate-lock-file") ]; environment.systemPackages = map (x: (pkgs.writeShellScriptBin