forked from DGNum/liminix
fix vanilla-configuration defaultroute
This commit is contained in:
parent
dca2e4def1
commit
04f5174425
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue