use stura network addresses

This commit is contained in:
goeranh 2025-11-07 14:51:36 +01:00
parent a09fc1134b
commit 2ebf921107
No known key found for this signature in database

View file

@ -10,24 +10,15 @@
./authentik.nix ./authentik.nix
]; ];
networking.hostName = "mail"; networking.hostName = "auth";
networking.extraHosts = ''
127.0.0.1 auth.test.htw.stura-dresden.de
'';
networking.interfaces.ens18.ipv4.addresses = [ networking.interfaces.ens18.ipv4.addresses = [
{ {
address = "167.235.225.23"; address = "141.56.51.96";
prefixLength = 32; prefixLength = 24;
} }
]; ];
networking.interfaces.ens18.ipv6.addresses = [ networking.defaultGateway.address = "141.56.51.254";
{
address = "2a01:4f8:c012:6bd7::1";
prefixLength = 32;
}
];
networking.defaultGateway.address = "172.31.1.1";
networking.nameservers = [ networking.nameservers = [
"9.9.9.9" "9.9.9.9"
"1.1.1.1" "1.1.1.1"