From c096d7fb2d3875237deb77d35241f74532102f7d Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 18 Jan 2024 02:34:41 +0100 Subject: [PATCH] Pass flags properly to `nix run` inside script --- scripts/emergency-lapetus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/emergency-lapetus.sh b/scripts/emergency-lapetus.sh index 801ec49..dfbd537 100755 --- a/scripts/emergency-lapetus.sh +++ b/scripts/emergency-lapetus.sh @@ -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"