From 9d584ec88b26a78e55b625a1f2c18a27c590496a Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 26 Aug 2024 19:27:17 +0200 Subject: [PATCH] Fix emergency script not reading the disko mode --- scripts/emergency.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/emergency.sh b/scripts/emergency.sh index dcf71ef..d7437d2 100755 --- a/scripts/emergency.sh +++ b/scripts/emergency.sh @@ -39,7 +39,7 @@ if [ "$mode" = "mount" ] && [ "$host" = "lapetus" ]; then fi echo "Running disko" -nix run disko -- --mode $MODE ./hosts/nixos/$host/filesystems/partitions.nix +nix run disko -- --mode $mode ./hosts/nixos/$host/filesystems/partitions.nix if [ "$action" = "install" ]; then echo "Generating hardware config"