v6only: use more explicit naming
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; } ]; };