diff options
Diffstat (limited to 'hosts/vidhar/network/dhcp')
| -rw-r--r-- | hosts/vidhar/network/dhcp/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/vidhar/network/dhcp/default.nix b/hosts/vidhar/network/dhcp/default.nix index f36d0c7f..098d3061 100644 --- a/hosts/vidhar/network/dhcp/default.nix +++ b/hosts/vidhar/network/dhcp/default.nix | |||
| @@ -5,6 +5,7 @@ with lib; | |||
| 5 | let | 5 | let |
| 6 | nfsrootBaseUrl = "http://nfsroot.vidhar.yggdrasil"; | 6 | nfsrootBaseUrl = "http://nfsroot.vidhar.yggdrasil"; |
| 7 | tftpIp = "10.141.0.1"; | 7 | tftpIp = "10.141.0.1"; |
| 8 | nfsIp = tftpIp; | ||
| 8 | ipxe = pkgs.ipxe.override { | 9 | ipxe = pkgs.ipxe.override { |
| 9 | additionalTargets = { | 10 | additionalTargets = { |
| 10 | "bin-i386-efi/ipxe.efi" = "i386-ipxe.efi"; | 11 | "bin-i386-efi/ipxe.efi" = "i386-ipxe.efi"; |
| @@ -309,7 +310,7 @@ in { | |||
| 309 | installerBuild = (flake.nixosConfigurations.${"installer-${system}-nfsroot"}.extendModules { | 310 | installerBuild = (flake.nixosConfigurations.${"installer-${system}-nfsroot"}.extendModules { |
| 310 | modules = [ | 311 | modules = [ |
| 311 | ({ ... }: { | 312 | ({ ... }: { |
| 312 | config.nfsroot.storeDevice = "${tftpIp}:nix-store"; | 313 | config.nfsroot.storeDevice = "${nfsIp}:nix-store"; |
| 313 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/installer-${system}/registration"; | 314 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/installer-${system}/registration"; |
| 314 | }) | 315 | }) |
| 315 | ]; | 316 | ]; |
| @@ -369,7 +370,7 @@ in { | |||
| 369 | eostreBuild = (flake.nixosConfigurations.eostre.extendModules { | 370 | eostreBuild = (flake.nixosConfigurations.eostre.extendModules { |
| 370 | modules = [ | 371 | modules = [ |
| 371 | ({ ... }: { | 372 | ({ ... }: { |
| 372 | config.nfsroot.storeDevice = "${tftpIp}:nix-store"; | 373 | config.nfsroot.storeDevice = "${nfsIp}:nix-store"; |
| 373 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/eostre/registration"; | 374 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/eostre/registration"; |
| 374 | }) | 375 | }) |
| 375 | ]; | 376 | ]; |
