fix vanilla-configuration defaultroute

This commit is contained in:
Daniel Barlow 2024-03-28 22:13:21 +00:00
parent dca2e4def1
commit 04f5174425

View file

@ -16,7 +16,7 @@ in rec {
in svc.network.dhcp.client.build { interface = iface; }; in svc.network.dhcp.client.build { interface = iface; };
services.defaultroute4 = svc.network.route.build { services.defaultroute4 = svc.network.route.build {
via = "$(output ${services.dhcpv4} address)"; via = "$(output ${services.dhcpv4} ip)";
target = "default"; target = "default";
dependencies = [ services.dhcpv4 ]; dependencies = [ services.dhcpv4 ];
}; };