diff --git a/deploy.sh b/deploy.sh index 273666d..eeccf8e 100644 --- a/deploy.sh +++ b/deploy.sh @@ -505,7 +505,7 @@ disks_generation() { # Subtract 2GB for safety (headers, rounding) local PART_SIZE_GIB=$(( (MIN_SIZE - 2147483648) / 1024 / 1024 / 1024 )) - export PARTITION_SIZE="${PART_SIZE_GIB}GiB" + export PARTITION_SIZE="${PART_SIZE_GIB}G" (envsubst < "templates/nix-config/disks/mirror.nix") >> final-nix-config/etc/nixos/disks/disko.nix