From d3681fcd4f2f2fd2d4499e387b227d7c19e4c27d Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Fri, 7 Nov 2025 21:59:53 +0100 Subject: [PATCH] feat: Switch from tayga to jool --- hosts/vm-infra/configuration.nix | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/hosts/vm-infra/configuration.nix b/hosts/vm-infra/configuration.nix index 642d5ad..fc81430 100644 --- a/hosts/vm-infra/configuration.nix +++ b/hosts/vm-infra/configuration.nix @@ -15,33 +15,9 @@ profiles.vm.enable = true; }; - # Setup Tayga NAT64 - services.tayga = { + # Setup JOOL NAT64 + networking.jool = { enable = true; - ipv4 = { - address = "10.64.0.0"; - router = { - address = "10.64.0.1"; - }; - pool = { - address = "10.64.0.0"; - prefixLength = 16; - }; - }; - ipv6 = - let - ula = inputs.secrets.lab.network.ula.prefixBase; - net = toString inputs.secrets.lab.network.vlan.lab; - in - { - address = "${ula}:${net}::6464"; - router = { - address = "64::ff9b::1"; - }; - pool = { - address = "64:ff9b::"; - prefixLength = 96; - }; - }; + nat64.default = { }; }; }