all repos — nixfiles @ 94e12c1f10fc0caaa79c7b6e508f6022a405cd0b

System and user configuration, managed by nix and home-manager

v6only: use more explicit naming

Alin
commit

94e12c1f10fc0caaa79c7b6e508f6022a405cd0b

parent

9a5f1ad439a8c90d6d6370d6d5b85972ba11ced5

1 file changed, 6 insertions(+), 3 deletions(-)

changed files
M system/roles/router/v6only.nix → system/roles/router/v6only.nix
@@ -4,11 +4,14 @@
# TODO: change to 30 v6OnlyPreferredLifetime = 15 * 60; - prefix = "64:ff9b::/96"; + dns64prefix = "64:ff9b::/96"; in { services.adguardhome.settings.dns = { use_dns64 = nat64; + dns64_prefixes = [ + dns64prefix + ]; }; services.dnsmasq.settings.dhcp-option = [
@@ -19,7 +22,7 @@ networking.jool = {
enable = nat64; nat64 = { default = { - global.pool6 = prefix; + global.pool6 = dns64prefix; }; }; };
@@ -30,7 +33,7 @@ matchConfig.Kind = "bridge";
ipv6PREF64Prefixes = [ { - Prefix = prefix; + Prefix = dns64prefix; } ]; };