nixos-conf/services/siit-dc.nix

23 lines
428 B
Nix
Raw Normal View History

{ config, ... }:
2025-02-21 02:03:23 +02:00
let
2025-02-21 12:07:34 +02:00
v4_pref = "192.168.251";
2025-02-21 02:03:23 +02:00
in
{
networking = {
jool = {
enable = true;
siit.default = {
global.pool6 = "${config.custom.gua_pref}46::/96";
2025-02-21 02:03:23 +02:00
# Explicit address mappings
eamt = [
{
"ipv6 prefix" = "${config.custom.gua_pref}d1:be24:11ff:fe42:dd76/128";
2025-02-21 03:42:55 +02:00
"ipv4 prefix" = "${v4_pref}.1/32";
2025-02-21 02:03:23 +02:00
}
];
};
};
};
}