diff --git a/machine-confs/siit-dc.nix b/machine-confs/siit-dc.nix new file mode 100644 index 0000000..c0ad541 --- /dev/null +++ b/machine-confs/siit-dc.nix @@ -0,0 +1,12 @@ +{ ... }: +{ + networking.hostName = "siit-dc"; + + imports = [ + ../base.nix + ../services/siit-dc.nix + ]; + + # HARDWARE SPECIFIC + services.qemuGuest.enable = true; +} diff --git a/services/siit-dc.nix b/services/siit-dc.nix new file mode 100644 index 0000000..fcf9527 --- /dev/null +++ b/services/siit-dc.nix @@ -0,0 +1,22 @@ +{ ... }: +let + gua_pref = "2001:14ba:a090:39"; +in +{ + networking = { + jool = { + enable = true; + siit.default = { + global.pool6 = "${gua_pref}46::/96"; + + # Explicit address mappings + eamt = [ + { + "ipv6 prefix" = "${gua_pref}d1:f0bf:efb:c23:b751/128"; + "ipv4 prefix" = "192.168.250.2/32"; + } + ]; + }; + }; + }; +}