From a4bc437a427b6c5d8ef2a3ec319cedb155d14133 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 22 May 2026 17:46:07 +0200 Subject: Fixed steam --- hosts/herra/steam.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'hosts/herra/steam.nix') diff --git a/hosts/herra/steam.nix b/hosts/herra/steam.nix index e3d5142..9bbe499 100644 --- a/hosts/herra/steam.nix +++ b/hosts/herra/steam.nix @@ -1,17 +1,24 @@ -{lib, pkgs, ...}: { +{ + lib, + pkgs, + ... +}: { programs.steam = { enable = true; package = pkgs.steam.override { extraEnv = { LD_PRELOAD = "${pkgs.gamemode.lib}/lib/libgamemodeauto.so"; }; - extraLibraries = pkgs: with pkgs; [ - gamemode - ]; + extraLibraries = pkgs: + with pkgs; [ + gamemode + ]; }; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; localNetworkGameTransfers.openFirewall = true; + gamescopeSession.enable = false; + extraCompatPackages = [pkgs.proton-ge-bin]; }; nixpkgs.config.allowUnfreePredicate = pkg: @@ -24,4 +31,5 @@ programs.appimage.enable = true; programs.appimage.binfmt = true; -} \ No newline at end of file +} + -- cgit v1.2.3