diff --git a/hosts/yodaGaming/configuration.nix b/hosts/yodaGaming/configuration.nix index ce79b68..d609608 100644 --- a/hosts/yodaGaming/configuration.nix +++ b/hosts/yodaGaming/configuration.nix @@ -36,8 +36,9 @@ ../../modules/signal-desktop.nix ../../modules/firefox.nix - ../../modules/steam.nix #../../modules/games.nix + #../../modules/dosbox-x.nix + ../../modules/steam.nix ../../modules/jetbrains-ide.nix ]; diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index a652b18..32fffc0 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -57,9 +57,6 @@ #../../modules/waydroid.nix ../../modules/uni-vpn.nix - #../../modules/games.nix - #../../modules/dosbox-x.nix - ../../modules/autostart.nix ../../modules/jetbrains-ide.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 0c67862..ceacc56 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -61,6 +61,7 @@ ../../modules/games.nix ../../modules/dosbox-x.nix + ../../modules/steam.nix ../../modules/autostart.nix diff --git a/modules/steam.nix b/modules/steam.nix index b392154..4e3109f 100644 --- a/modules/steam.nix +++ b/modules/steam.nix @@ -1,13 +1,35 @@ { config, pkgs, ... }: { + # Alternative: Install Steam as Flatpak + # # https://wiki.archlinux.org/title/steam#See_also - # flatpak install com.valvesoftware.Steam - + # # Launching Steam with Flatpak might warn you about installing the steam-devices package to add support for some gamepads. # https://wiki.archlinux.org/title/steam#Flatpak # https://github.com/ValveSoftware/steam-devices # These udev rules should be enabled by the following setting. # https://www.reddit.com/r/NixOS/comments/10px9ty/comment/j6moarv/ #hardware.steam-hardware.enable = true; + + # https://nixos.wiki/wiki/Steam#Install + programs.steam = { + enable = true; + + # Open ports in the firewall for Steam Remote Play + #remotePlay.openFirewall = true; + + # Open ports in the firewall for Source Dedicated Server + # https://developer.valvesoftware.com/wiki/Source_Dedicated_Server + # Tool that runs the server component of a Source game (CS:GO, etc) without the client component + #dedicatedServer.openFirewall = true; + + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers + }; + allowUnfree = [ + "steam" + "steam-original" + "steam-unwrapped" + "steam-run" + ]; }