69 lines
1.5 KiB
Nix
69 lines
1.5 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ];
|
|
|
|
# configure jool
|
|
networking.jool = {
|
|
# siit = {}; TODO
|
|
nat64 = {
|
|
pool4 = [
|
|
{
|
|
protocol = "TCP";
|
|
prefix = "94.45.248.0/25";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "UDP";
|
|
prefix = "94.45.248.128/26";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "ICMP";
|
|
prefix = "94.45.248.192/27";
|
|
"port range" = "40001-65535";
|
|
}
|
|
|
|
{
|
|
protocol = "TCP";
|
|
prefix = "94.45.248.0/25";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "UDP";
|
|
prefix = "94.45.248.128/26";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "ICMP";
|
|
prefix = "94.45.248.192/27";
|
|
"port range" = "40001-65535";
|
|
}
|
|
|
|
{
|
|
protocol = "TCP";
|
|
prefix = "94.45.248.0/25";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "UDP";
|
|
prefix = "94.45.248.128/26";
|
|
"port range" = "40001-65535";
|
|
}
|
|
{
|
|
protocol = "ICMP";
|
|
prefix = "94.45.248.192/27";
|
|
"port range" = "40001-65535";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
# DO NOT CHANGE
|
|
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible
|
|
home-manager.users.noc.home.stateVersion = "24.11";
|
|
system.stateVersion = "24.11";
|
|
}
|