Fix flake update target
This commit is contained in:
parent
e3e2fa7566
commit
2c14755e12
1 changed files with 1 additions and 1 deletions
|
|
@ -880,7 +880,7 @@ in {
|
|||
rm -f "$repo_dir/flake.lock"
|
||||
fi
|
||||
|
||||
run_as_user /run/current-system/sw/bin/nix flake update --commit-lock-file "$repo_dir"
|
||||
run_as_user /run/current-system/sw/bin/nix flake update --commit-lock-file --flake "$repo_dir"
|
||||
/run/current-system/sw/bin/nixos-rebuild switch --flake "$repo_dir#Nixos"
|
||||
|
||||
if [ -n "$backup" ] && [ -f "$backup" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue