From 42984e77041cfc95d333319bef0b2d8f441f56d3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 2 Nov 2022 00:11:28 +0100 Subject: =?UTF-8?q?eos=20=E2=86=92=20eostre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/vidhar/network/dhcp/default.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'hosts/vidhar/network') 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; }; client-classes = [ - { name = "eos-ipxe"; + { name = "eostre-ipxe"; test = "hexstring(pkt4.mac, ':') == '00:d8:61:79:c5:40' and option[77].hex == 'iPXE'"; next-server = "10.141.0.1"; - boot-file-name = "http://nfsroot.vidhar.yggdrasil/eos/netboot.ipxe"; + boot-file-name = "http://nfsroot.vidhar.yggdrasil/eostre/netboot.ipxe"; only-if-required = true; } { name = "ipxe"; @@ -266,21 +266,21 @@ with lib; ) ["x86_64-linux"] ) ++ [ (let - eosBuild = (flake.nixosConfigurations.eos.extendModules { + eostreBuild = (flake.nixosConfigurations.eostre.extendModules { modules = [ ({ ... }: { config.nfsroot.storeDevice = "10.141.0.1:nix-store"; - config.nfsroot.registrationUrl = "http://nfsroot.vidhar.yggdrasil/eos/registration"; + config.nfsroot.registrationUrl = "http://nfsroot.vidhar.yggdrasil/eostre/registration"; }) ]; }).config.system.build; - in builtins.toPath (pkgs.runCommandLocal "eos" {} '' - mkdir -p $out/eos - install -m 0444 -t $out/eos \ - ${eosBuild.initialRamdisk}/initrd \ - ${eosBuild.kernel}/bzImage \ - ${eosBuild.netbootIpxeScript}/netboot.ipxe \ - ${pkgs.closureInfo { rootPaths = eosBuild.storeContents; }}/registration + in builtins.toPath (pkgs.runCommandLocal "eostre" {} '' + mkdir -p $out/eostre + install -m 0444 -t $out/eostre \ + ${eostreBuild.initialRamdisk}/initrd \ + ${eostreBuild.kernel}/bzImage \ + ${eostreBuild.netbootIpxeScript}/netboot.ipxe \ + ${pkgs.closureInfo { rootPaths = eostreBuild.storeContents; }}/registration '')) ]; }; -- cgit v1.2.3