cofractal-ams01: fully migrate VMs

This commit is contained in:
Luke Granger-Brown 2024-03-25 19:12:55 +00:00
parent 0fd44c31c1
commit 9aece1027e
2 changed files with 19 additions and 1 deletions

View file

@ -66,7 +66,7 @@ in
../lib/deluge.nix ../lib/deluge.nix
../lib/plex.nix ../lib/plex.nix
./vm-bridge.nix ./vm-bridge.nix
./vxlan-bridge.nix #./vxlan-bridge.nix
]; ];
my.plex.customTLS = { my.plex.customTLS = {

View file

@ -13,6 +13,16 @@
}; };
systemd.network.networks."40-br-public" = { systemd.network.networks."40-br-public" = {
matchConfig.Name = "br-public"; matchConfig.Name = "br-public";
address = [
"92.118.28.1/24"
"2a09:a441::1/48"
"fe80::f00f/64"
];
networkConfig.IPv6SendRA = true;
ipv6Prefixes = [{ ipv6PrefixConfig = {
Prefix = "2a09:a441:0:ffff::/64";
Assign = true;
}; }];
}; };
systemd.network.netdevs."40-br-mgmt" = { systemd.network.netdevs."40-br-mgmt" = {
@ -23,5 +33,13 @@
}; };
systemd.network.networks."40-br-mgmt" = { systemd.network.networks."40-br-mgmt" = {
matchConfig.Name = "br-mgmt"; matchConfig.Name = "br-mgmt";
address = [
"10.100.0.254/23"
];
};
services.lukegbgp.config = {
export.v4 = [ "92.118.28.0/24" ];
export.v6 = [ "2a09:a441::/32" ];
}; };
} }