diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-02 00:11:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-02 00:11:28 +0100 |
commit | 42984e77041cfc95d333319bef0b2d8f441f56d3 (patch) | |
tree | 848bf7ee0ebd5d01dd20184d662230d42d5bf7b0 /hosts/vidhar/network/dhcp/default.nix | |
parent | 9cc83652e3b922a8bca5c4684bbc34a6589b9aa5 (diff) | |
download | nixos-42984e77041cfc95d333319bef0b2d8f441f56d3.tar nixos-42984e77041cfc95d333319bef0b2d8f441f56d3.tar.gz nixos-42984e77041cfc95d333319bef0b2d8f441f56d3.tar.bz2 nixos-42984e77041cfc95d333319bef0b2d8f441f56d3.tar.xz nixos-42984e77041cfc95d333319bef0b2d8f441f56d3.zip |
eos → eostre
Diffstat (limited to 'hosts/vidhar/network/dhcp/default.nix')
-rw-r--r-- | hosts/vidhar/network/dhcp/default.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/hosts/vidhar/network/dhcp/default.nix b/hosts/vidhar/network/dhcp/default.nix index d3407f1d..1c29dc6a 100644 --- a/hosts/vidhar/network/dhcp/default.nix +++ b/hosts/vidhar/network/dhcp/default.nix | |||
@@ -23,10 +23,10 @@ with lib; | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | client-classes = [ | 25 | client-classes = [ |
26 | { name = "eos-ipxe"; | 26 | { name = "eostre-ipxe"; |
27 | test = "hexstring(pkt4.mac, ':') == '00:d8:61:79:c5:40' and option[77].hex == 'iPXE'"; | 27 | test = "hexstring(pkt4.mac, ':') == '00:d8:61:79:c5:40' and option[77].hex == 'iPXE'"; |
28 | next-server = "10.141.0.1"; | 28 | next-server = "10.141.0.1"; |
29 | boot-file-name = "http://nfsroot.vidhar.yggdrasil/eos/netboot.ipxe"; | 29 | boot-file-name = "http://nfsroot.vidhar.yggdrasil/eostre/netboot.ipxe"; |
30 | only-if-required = true; | 30 | only-if-required = true; |
31 | } | 31 | } |
32 | { name = "ipxe"; | 32 | { name = "ipxe"; |
@@ -266,21 +266,21 @@ with lib; | |||
266 | ) ["x86_64-linux"] | 266 | ) ["x86_64-linux"] |
267 | ) ++ [ | 267 | ) ++ [ |
268 | (let | 268 | (let |
269 | eosBuild = (flake.nixosConfigurations.eos.extendModules { | 269 | eostreBuild = (flake.nixosConfigurations.eostre.extendModules { |
270 | modules = [ | 270 | modules = [ |
271 | ({ ... }: { | 271 | ({ ... }: { |
272 | config.nfsroot.storeDevice = "10.141.0.1:nix-store"; | 272 | config.nfsroot.storeDevice = "10.141.0.1:nix-store"; |
273 | config.nfsroot.registrationUrl = "http://nfsroot.vidhar.yggdrasil/eos/registration"; | 273 | config.nfsroot.registrationUrl = "http://nfsroot.vidhar.yggdrasil/eostre/registration"; |
274 | }) | 274 | }) |
275 | ]; | 275 | ]; |
276 | }).config.system.build; | 276 | }).config.system.build; |
277 | in builtins.toPath (pkgs.runCommandLocal "eos" {} '' | 277 | in builtins.toPath (pkgs.runCommandLocal "eostre" {} '' |
278 | mkdir -p $out/eos | 278 | mkdir -p $out/eostre |
279 | install -m 0444 -t $out/eos \ | 279 | install -m 0444 -t $out/eostre \ |
280 | ${eosBuild.initialRamdisk}/initrd \ | 280 | ${eostreBuild.initialRamdisk}/initrd \ |
281 | ${eosBuild.kernel}/bzImage \ | 281 | ${eostreBuild.kernel}/bzImage \ |
282 | ${eosBuild.netbootIpxeScript}/netboot.ipxe \ | 282 | ${eostreBuild.netbootIpxeScript}/netboot.ipxe \ |
283 | ${pkgs.closureInfo { rootPaths = eosBuild.storeContents; }}/registration | 283 | ${pkgs.closureInfo { rootPaths = eostreBuild.storeContents; }}/registration |
284 | '')) | 284 | '')) |
285 | ]; | 285 | ]; |
286 | }; | 286 | }; |