Get mirror config working

This commit is contained in:
Raphaël Numbus
2026-01-10 12:33:18 +01:00
parent e5b0930175
commit c369442e44
+1 -1
View File
@@ -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