mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
fix rebuild scripts for flakes
This commit is contained in:
parent
8f0d0981a1
commit
a60071039d
1 changed files with 3 additions and 3 deletions
|
@ -28,9 +28,9 @@ in
|
|||
[ "switch" "switch" ]
|
||||
[ "build" "build" ]
|
||||
[ "boot" "boot" ]
|
||||
[ "switch-upgrade" "switch" "--recreate-lock-file" "--refresh" ]
|
||||
[ "build-upgrade" "build" "--recreate-lock-file" "--refresh" ]
|
||||
[ "boot-upgrade" "boot" "--recreate-lock-file" "--refresh" ]
|
||||
[ "switch-upgrade" "switch" "--refresh" (lib.optionalString (cfg.rebuildPath == "/etc/nixos") "--recreate-lock-file") ]
|
||||
[ "build-upgrade" "build" "--refresh" (lib.optionalString (cfg.rebuildPath == "/etc/nixos") "--recreate-lock-file") ]
|
||||
[ "boot-upgrade" "boot" "--refresh" (lib.optionalString (cfg.rebuildPath == "/etc/nixos") "--recreate-lock-file") ]
|
||||
];
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue