initial testlab config

This commit is contained in:
Dennis Frieberg 2023-10-01 15:56:46 +02:00
parent 554c5c89a8
commit 983391385c
Signed by: nerf
GPG key ID: 42DED0E2D8F04FB6
3 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# We sohuld put that config somewhere in roles and give it a parameter or something,
# everyone gets the same nameserver and the same prefixLength and address vs defaultGateway alsways
# depend on the same thing
{
imports = [ ];
networking = {
interfaces.enX0.ipv4.addresses = [ {
address = "192.168.0.40";
prefixLength = 16;
} ];
defaultGateway = "192.168.0.167";
nameservers = ["130.83.2.22" "130.83.56.60" "130.83.22.60" "130.82.22.63"];
};
}