lab-infra/meta/network.nix
Constantin Gierczak--Galle 9b5c6848c0
Some checks failed
Check meta / check_meta (push) Failing after 20s
lint / check (push) Successful in 24s
build configuration / build_krz01 (push) Failing after 1m29s
feat(dns01): use infra-wide network config (#6)
Reviewed-on: #6
Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
2024-12-04 18:07:34 +01:00

78 lines
1.4 KiB
Nix

{
dns01 = {
interfaces = {
ens18 = {
ipv4 = [
{
address = "129.199.146.102";
prefixLength = 24;
}
];
gateways = [ "129.199.146.254" ];
enableDefaultDNS = true;
};
};
#addresses.ipv4 = [ "129.199.146.102" ];
hostId = "1758233d";
};
krz01 = {
interfaces = {
vmbr0 = {
ipv4 = [
{
address = "129.199.146.21";
prefixLength = 24;
}
{
address = "192.168.1.145";
prefixLength = 24;
}
];
gateways = [ "129.199.146.254" ];
enableDefaultDNS = true;
};
};
hostId = "bd11e8fc";
netbirdIp = "100.80.103.206";
};
labcore01 = {
interfaces = {
ens18 = {
ipv6 = [
{
address = "2a0e:e701:1120:1000::f:1";
prefixLength = 64;
}
{
address = "2a0e:e701:1120:1000:ffff::45.13.104.25";
prefixLength = 64;
}
];
gateways = [ "2a0e:e701:1120:1000::1" ];
dns = [ "2a0e:e701:1120:1000::f:1" ];
};
};
hostId = "4a370ef4";
};
router02 = {
interfaces = { };
addresses.ipv4 = [ "129.199.146.230" ];
hostId = "144d0f7a";
};
photo01 = {
interfaces = { };
addresses.ipv4 = [ "129.199.146.101" ];
hostId = "bcf8ff03";
};
}