Fully configure networking statically. DHCP is not allowed for non custom_ipxe oses, except for a small window of time after provisioning completion. I'm not sure how exactly things actually worked as is, maybe dhcpcd cached some stuff and used it when it failed to get a lease?
I noticed this because I had dhcp requests routed to a nixos machine I've got, the dhcp requests of said nix server were also being routed to itself and when no dhcp server responded (or NACKd?) my network config was affected. I had no default gateways and no dns servers configured.
This PR brings nixos to work in the same fashion as all of the other packet supported OSes.
Fully configure networking statically. DHCP is not allowed for non custom_ipxe oses, except for a small window of time after provisioning completion. I'm not sure how exactly things actually worked as is, maybe dhcpcd cached some stuff and used it when it failed to get a lease?
I noticed this because I had dhcp requests routed to a nixos machine I've got, the dhcp requests of said nix server were also being routed to itself and when no dhcp server responded (or NACKd?) my network config was affected. I had no default gateways and no dns servers configured.
This PR brings nixos to work in the same fashion as all of the other packet supported OSes.