mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
recreate lock file if using a local flake
This commit is contained in:
parent
59ae67549c
commit
d6ffb6f493
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
system.autoUpgrade.flake = cfg.rebuildPath;
|
system.autoUpgrade.flake = cfg.rebuildPath;
|
||||||
|
system.autoUpgrade.flags = [ (lib.optionalString (cfg.rebuildPath == "/etc/nixos") "--recreate-lock-file") ];
|
||||||
|
|
||||||
environment.systemPackages = map
|
environment.systemPackages = map
|
||||||
(x: (pkgs.writeShellScriptBin
|
(x: (pkgs.writeShellScriptBin
|
||||||
|
|
Loading…
Reference in a new issue