diff --git a/definitions/nixos32/definition.rb b/definitions/nixos32/definition.rb index 04b00c6..8a46d79 100644 --- a/definitions/nixos32/definition.rb +++ b/definitions/nixos32/definition.rb @@ -16,7 +16,7 @@ session = { 'w', '', 'mkfs.ext4 -j -L nixos /dev/sda1', '', 'mount LABEL=nixos /mnt', '', - 'curl -O http://10.0.2.2:7122/configuration.nix &&', '', + 'curl -O http://%IP%:%PORT%/configuration.nix &&', '', 'mkdir -p /mnt/etc/nixos &&', '', 'mv configuration.nix /mnt/etc/nixos &&', '', 'nixos-install &&', '',