Add steam container bridge network

This commit is contained in:
muon 2024-07-28 18:22:59 +00:00
parent a4b72da4b4
commit 53508e59c5
4 changed files with 43 additions and 11 deletions

View file

@ -22,6 +22,27 @@
externalInterface = "enp0s31f6";
};
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
# networking = {
# bridges.br0.interfaces = [ "enp0s31f6" ]; # Adjust interface accordingly
# # Get bridge-ip with DHCP
# # useDHCP = false;
# # interfaces."br0".useDHCP = true;
# # Set bridge-ip static
# # interfaces."br0".ipv4.addresses = [{
# # address = "192.168.1.171";
# # prefixLength = 24;
# # }];
# # interfaces."enp0s31f6".ipv4.addresses = [{
# # address = "192.168.1.107";
# # prefixLength = 24;
# # }];
# defaultGateway = "192.168.1.1";
# nameservers = [ "192.168.1.1" ];
# };
# networking.firewall.allowedTCPPorts = [ 4713 6000 ];
# hardware.pulseaudio = {