1
Fork 0

Pass flags properly to nix run inside script

This commit is contained in:
Matei Adriel 2024-01-18 02:34:41 +01:00
parent e5b59ce924
commit c096d7fb2d
No known key found for this signature in database

View file

@ -30,7 +30,7 @@ if [ "$1" = "mount" ]; then
zpool import -lfR /mnt zroot
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
echo "Installing nixos"