feat: add bridge device for home assistant
Some checks are pending
Continuous Integration / Checks (push) Waiting to run

This commit is contained in:
Tim Schubert 2024-12-16 18:59:14 +01:00
parent 022507887d
commit 2129924e78
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0

View file

@ -312,9 +312,20 @@ in
{ routeConfig = { Destination = "fc00:1337:dead:beef::10.11.0.0/118"; }; }
];
};
"20-br0" = {
matchConfig.Name = "br0";
networkConfig.DHCP = "ipv4";
linkConfig.RequiredForOnline = "routable";
};
};
netdevs = {
"20-wg0" = {
"20-br0" = {
netdevConfig = {
Kind = "bridge";
Name = "br0";
};
};
"20-wg0" = {
netdevConfig = {
Kind = "wireguard";
Name = "wg0";
@ -367,7 +378,7 @@ in
allowPing = true;
allowedTCPPorts = [
22 # SSH
2222
2222 # SSH
80 # munin web
631 # Printing
];