forked from pub-solar/os
shell: fix flk command
This commit is contained in:
parent
165ffaa4fb
commit
ad4bbdd398
|
@ -21,9 +21,9 @@ let
|
||||||
elif [[ $1 == "iso" ]]; then
|
elif [[ $1 == "iso" ]]; then
|
||||||
nix build ${configs}.niximg.${build}.isoImage
|
nix build ${configs}.niximg.${build}.isoImage
|
||||||
elif [[ $1 == "install" ]]; then
|
elif [[ $1 == "install" ]]; then
|
||||||
nixos-install --flake ".#$2" $@
|
sudo nixos-install --flake ".#$2" "${"\${@:3}"}"
|
||||||
else
|
else
|
||||||
sudo nixos-rebuild --flake ".#$1" $@
|
sudo nixos-rebuild --flake ".#$1" "${"\${@:2}"}"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue