1
Fork 0

Fix emergency script not reading the disko mode

This commit is contained in:
prescientmoon 2024-08-26 19:27:17 +02:00
parent 3836681223
commit 9d584ec88b
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -39,7 +39,7 @@ if [ "$mode" = "mount" ] && [ "$host" = "lapetus" ]; then
fi fi
echo "Running disko" 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 if [ "$action" = "install" ]; then
echo "Generating hardware config" echo "Generating hardware config"