From df1856ea7927ee1cc7c2a60e1c57928cc355e2ff Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 23 Oct 2024 16:35:33 -0400 Subject: [PATCH] vixen: Steam --- configurations/nixos/vixen/default.nix | 1 + modules/nixos/linux/gui/desktopish/steam.nix | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configurations/nixos/vixen/default.nix b/configurations/nixos/vixen/default.nix index 0b2316f..95fcf69 100644 --- a/configurations/nixos/vixen/default.nix +++ b/configurations/nixos/vixen/default.nix @@ -12,6 +12,7 @@ in (self + /modules/nixos/linux/gui/hyprland.nix) (self + /modules/nixos/linux/gui/gnome.nix) (self + /modules/nixos/linux/gui/desktopish/fonts.nix) + (self + /modules/nixos/linux/gui/desktopish/steam.nix) (self + /modules/nixos/linux/gui/_1password.nix) ]; diff --git a/modules/nixos/linux/gui/desktopish/steam.nix b/modules/nixos/linux/gui/desktopish/steam.nix index 332d5ca..3a0adfa 100644 --- a/modules/nixos/linux/gui/desktopish/steam.nix +++ b/modules/nixos/linux/gui/desktopish/steam.nix @@ -1,8 +1,11 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ - steam - ]; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers + }; # https://github.com/NixOS/nixpkgs/issues/47932#issuecomment-447508411 - hardware.opengl.driSupport32Bit = true; + # hardware.opengl.driSupport32Bit = true; }