Get mirror config working
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user