Add: SIIT-DC
This commit is contained in:
parent
2133b21dbb
commit
e4a2ced1b4
2 changed files with 34 additions and 0 deletions
12
machine-confs/siit-dc.nix
Normal file
12
machine-confs/siit-dc.nix
Normal 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
22
services/siit-dc.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue