diff --git a/machines/liminix/ap01/recovery.nix b/machines/liminix/ap01/recovery.nix index 5e81965..7e02afb 100644 --- a/machines/liminix/ap01/recovery.nix +++ b/machines/liminix/ap01/recovery.nix @@ -33,12 +33,17 @@ in # FIXME: DHCP has a hidden deps on this, shoud be done in a more intelligent way upstream programs.iproute2.enable = true; services = { - # In this situation, we fallback to the appro VLAN. + # In this situation, we fallback to the appro VLAN but keep admin vlan. # Simplest DHCPv4 we can find. dhcpv4 = svc.network.dhcp.client.build { interface = parentConfig.hardware.networkInterfaces.lan; }; - inherit (parentConfig.services) sshd; + inherit (parentConfig.services) + sshd + admin-vlan + admin-dhcpv4 + admin-defaultroute4 + ; defaultroute4 = svc.network.route.build { via = "$(output ${config.services.dhcpv4} router)"; target = "default";