forked from DGNum/infrastructure
feat(ap01): disable IPv6
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
0b94fb5ba7
commit
45b106190f
1 changed files with 14 additions and 12 deletions
|
@ -157,19 +157,21 @@ rec {
|
|||
];
|
||||
};
|
||||
|
||||
services.dhcpv6 = svc.dhcp6c.client.build {
|
||||
interface = config.services.int;
|
||||
dependencies = [
|
||||
config.services.hostname
|
||||
config.services.bridge
|
||||
];
|
||||
};
|
||||
# TODO(raito): these won't work with RAs
|
||||
# fix them in Liminix directly and re-enable.
|
||||
# services.dhcpv6 = svc.dhcp6c.client.build {
|
||||
# interface = config.services.int;
|
||||
# dependencies = [
|
||||
# config.services.hostname
|
||||
# config.services.bridge
|
||||
# ];
|
||||
# };
|
||||
|
||||
services.ipv6 = svc.dhcp6c.address.build {
|
||||
interface = config.services.int;
|
||||
client = config.services.dhcpv6;
|
||||
dependencies = [ config.services.hostname ];
|
||||
};
|
||||
# services.ipv6 = svc.dhcp6c.address.build {
|
||||
# interface = config.services.int;
|
||||
# client = config.services.dhcpv6;
|
||||
# dependencies = [ config.services.hostname ];
|
||||
# };
|
||||
|
||||
services.defaultroute4 = svc.network.route.build {
|
||||
via = "$(output ${services.dhcpv4} router)";
|
||||
|
|
Loading…
Reference in a new issue