Simplify networking configs

Introduces values.nix, a place to store information relevant across systems
This commit is contained in:
2023-01-17 10:27:18 +01:00
parent 4e93962f1c
commit e4cb215d39
5 changed files with 35 additions and 13 deletions

25
values.nix Normal file
View File

@@ -0,0 +1,25 @@
# Feel free to change the structure of this file
rec {
gateway = "129.241.210.129";
jokum = {
ipv4 = "129.241.210.169";
ipv6 = "2001:700:300:1900::169";
};
matrix = {
ipv4 = jokum.ipv4;
ipv6 = jokum.ipv6;
};
# Also on jokum
turn = {
ipv4 = "129.241.210.213";
ipv6 = "2001:700:300:1900::213";
};
ildkule = {
ipv4 = "129.241.210.187";
ipv6 = "2001:700:300:1900::187";
};
}