add dhcp6 client to wap profile
This commit is contained in:
@@ -45,6 +45,7 @@ in
|
||||
../hostapd
|
||||
../bridge
|
||||
../dhcp4c
|
||||
../dhcp6c
|
||||
{ config.services = hostaps; }
|
||||
];
|
||||
|
||||
@@ -72,6 +73,11 @@ in
|
||||
dependencies = [ config.services.hostname ];
|
||||
};
|
||||
|
||||
services.dhcpc6 = svc.dhcp6c.client.build {
|
||||
interface = config.services.int;
|
||||
dependencies = [ config.services.hostname ];
|
||||
};
|
||||
|
||||
services.defaultroute4 = svc.network.route.build {
|
||||
via = "$(output ${config.services.dhcpc} router)";
|
||||
target = "default";
|
||||
|
||||
Reference in New Issue
Block a user