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
a4b72da4b4
commit
53508e59c5
4 changed files with 43 additions and 11 deletions
|
|
@ -20,6 +20,8 @@ in {
|
|||
privateNetwork = true;
|
||||
hostAddress = "192.168.100.10";
|
||||
localAddress = "192.168.100.11";
|
||||
# hostBridge = "br0"; # Specify the bridge name
|
||||
# localAddress = "192.168.1.105/24";
|
||||
|
||||
bindMounts = {
|
||||
"/home/steam/.steam/steam/steamapps/common/SMITE" = {
|
||||
|
|
@ -48,7 +50,6 @@ in {
|
|||
"steam-run"
|
||||
];
|
||||
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
|
@ -64,6 +65,8 @@ in {
|
|||
glxinfo
|
||||
wget
|
||||
bottles
|
||||
ungoogled-chromium
|
||||
zellij
|
||||
|
||||
openbox
|
||||
steam-xinit
|
||||
|
|
@ -109,6 +112,14 @@ in {
|
|||
initialPassword = "changeme";
|
||||
};
|
||||
|
||||
networking = {
|
||||
# Use systemd-resolved inside the container
|
||||
# Workaround for bug https://github.com/NixOS/nixpkgs/issues/162686
|
||||
useHostResolvConf = lib.mkForce false;
|
||||
};
|
||||
|
||||
services.resolved.enable = true;
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue