Fix emergency script not reading the disko mode
This commit is contained in:
parent
3836681223
commit
9d584ec88b
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue