nixos/hosts/vm/jitsi/default.nix
2025-10-11 12:49:14 +02:00

47 lines
875 B
Nix

{ ... }:
{
imports = [
./jitsi.nix
];
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";
}