2023-10-18 15:04:30 +00:00
|
|
|
# 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
|
2023-11-07 23:47:14 +00:00
|
|
|
# depend on the same thing
|
2023-10-18 15:04:30 +00:00
|
|
|
{
|
2023-11-07 23:47:14 +00:00
|
|
|
imports = [];
|
2023-10-18 15:04:30 +00:00
|
|
|
networking = {
|
2023-11-07 23:47:14 +00:00
|
|
|
interfaces.enX0.ipv4.addresses = [
|
|
|
|
{
|
|
|
|
address = "192.168.0.25";
|
|
|
|
prefixLength = 16;
|
|
|
|
}
|
|
|
|
];
|
2023-10-18 15:04:30 +00:00
|
|
|
defaultGateway = "192.168.0.152";
|
|
|
|
nameservers = ["130.83.2.22" "130.83.56.60" "130.83.22.60" "130.82.22.63"];
|
|
|
|
};
|
|
|
|
}
|