Add: SIIT-DC

This commit is contained in:
Vili Sinervä 2025-02-21 02:03:23 +02:00
parent 2133b21dbb
commit e4a2ced1b4
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 34 additions and 0 deletions

12
machine-confs/siit-dc.nix Normal file
View file

@ -0,0 +1,12 @@
{ ... }:
{
networking.hostName = "siit-dc";
imports = [
../base.nix
../services/siit-dc.nix
];
# HARDWARE SPECIFIC
services.qemuGuest.enable = true;
}

22
services/siit-dc.nix Normal file
View file

@ -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";
}
];
};
};
};
}