2
0

add dhcp6 client to wap profile

This commit is contained in:
2025-11-11 21:12:13 +00:00
parent 9f21c3036f
commit 18193bf765
+6
View File
@@ -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";