46 lines
918 B
Nix
46 lines
918 B
Nix
{ ... }:
|
|
|
|
{
|
|
networking = {
|
|
hostName = "jitsi";
|
|
domain = "pub.infra.auro.re";
|
|
};
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
systemd.network = {
|
|
enable = true;
|
|
links = {
|
|
"10-pub" = {
|
|
matchConfig.MACAddress = "ae:ae:ae:74:db:e1";
|
|
linkConfig.Name = "pub";
|
|
};
|
|
};
|
|
networks = {
|
|
"10-pub" = {
|
|
domains = [
|
|
"pub.infra.auro.re"
|
|
"auro.re"
|
|
];
|
|
matchConfig.Name = "pub";
|
|
linkConfig.RequiredForOnline = "routable";
|
|
address = [
|
|
"45.66.111.216/27"
|
|
"2a09:6840:215::1:216/64"
|
|
];
|
|
routes = [
|
|
{ Gateway = "45.66.111.204"; }
|
|
{ Gateway = "2a09:6840:215::1"; }
|
|
];
|
|
dns = [
|
|
"10.206.1.1"
|
|
"10.206.1.2"
|
|
"2a09:6840:206::1:1"
|
|
"2a09:6840:206::1:2"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|