Pass flags properly to nix run
inside script
This commit is contained in:
parent
e5b59ce924
commit
c096d7fb2d
|
@ -30,7 +30,7 @@ if [ "$1" = "mount" ]; then
|
||||||
zpool import -lfR /mnt zroot
|
zpool import -lfR /mnt zroot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nix run disko --mode $1 ./hosts/nixos/lapetus/filesystems/partitions.nix
|
nix run disko -- --mode $1 ./hosts/nixos/lapetus/filesystems/partitions.nix
|
||||||
|
|
||||||
if [ "$2" = "install" ]; then
|
if [ "$2" = "install" ]; then
|
||||||
echo "Installing nixos"
|
echo "Installing nixos"
|
||||||
|
|
Loading…
Reference in a new issue