mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add steam container bridge network
This commit is contained in:
parent
5660351d84
commit
80bede4f0b
2 changed files with 17 additions and 22 deletions
|
|
@ -22,27 +22,22 @@
|
||||||
externalInterface = "enp0s31f6";
|
externalInterface = "enp0s31f6";
|
||||||
};
|
};
|
||||||
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
# networking = {
|
networking = {
|
||||||
# bridges.br0.interfaces = [ "enp0s31f6" ]; # Adjust interface accordingly
|
bridges.br0.interfaces = [ "enp0s31f6" ]; # Adjust interface accordingly
|
||||||
|
|
||||||
# # Get bridge-ip with DHCP
|
# Get bridge-ip with DHCP
|
||||||
# # useDHCP = false;
|
useDHCP = false;
|
||||||
# # interfaces."br0".useDHCP = true;
|
interfaces."br0".useDHCP = true;
|
||||||
|
|
||||||
# # Set bridge-ip static
|
# Set bridge-ip static
|
||||||
# # interfaces."br0".ipv4.addresses = [{
|
interfaces."br0".ipv4.addresses = [{
|
||||||
# # address = "192.168.1.171";
|
address = "192.168.1.171";
|
||||||
# # prefixLength = 24;
|
prefixLength = 24;
|
||||||
# # }];
|
}];
|
||||||
|
|
||||||
# # interfaces."enp0s31f6".ipv4.addresses = [{
|
defaultGateway = "192.168.1.1";
|
||||||
# # address = "192.168.1.107";
|
nameservers = [ "192.168.1.1" ];
|
||||||
# # prefixLength = 24;
|
};
|
||||||
# # }];
|
|
||||||
|
|
||||||
# defaultGateway = "192.168.1.1";
|
|
||||||
# nameservers = [ "192.168.1.1" ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
# networking.firewall.allowedTCPPorts = [ 4713 6000 ];
|
# networking.firewall.allowedTCPPorts = [ 4713 6000 ];
|
||||||
# hardware.pulseaudio = {
|
# hardware.pulseaudio = {
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ in {
|
||||||
|
|
||||||
containers.steam = {
|
containers.steam = {
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
hostAddress = "192.168.100.10";
|
# hostAddress = "192.168.100.10";
|
||||||
localAddress = "192.168.100.11";
|
# localAddress = "192.168.100.11";
|
||||||
# hostBridge = "br0"; # Specify the bridge name
|
hostBridge = "br0"; # Specify the bridge name
|
||||||
# localAddress = "192.168.1.105/24";
|
localAddress = "192.168.1.171/24";
|
||||||
|
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/home/steam/.steam/steam/steamapps/common/SMITE" = {
|
"/home/steam/.steam/steam/steamapps/common/SMITE" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue