From 36c6e557cfcbe5fb4ecc86f692ac74d23d1c6e30 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 9 Oct 2025 00:37:47 +0200 Subject: [PATCH] feat(modules/games): adding steam modules --- modules/games/steam.nix | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/modules/games/steam.nix b/modules/games/steam.nix index bc32b95..c03cb22 100644 --- a/modules/games/steam.nix +++ b/modules/games/steam.nix @@ -10,15 +10,23 @@ let in { config = lib.mkIf cfg.enable { - programs.steam = { - enable = true; - gamescopeSession.enable = true; - extraCompatPackages = with pkgs; [ - proton-ge-bin - ]; + programs = { + steam = { + enable = true; + gamescopeSession.enable = true; + extraCompatPackages = with pkgs; [ + proton-ge-bin + ]; + }; + gamemode.enable = true; }; - programs.gamemode.enable = true; + environment.systemPackages = with pkgs; [ + wine-staging + lutris + dxvk + vkd3d + ]; systemd.user.services."steam-bp" = lib.mkIf cfg.bp { description = "Steam Big Picture auto start"; @@ -35,6 +43,13 @@ in }; services = { + pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + }; desktopManager.plasma6.enable = lib.mkIf cfg.bp true; displayManager = lib.mkIf cfg.bp { defaultSession = "plasmax11";