Loading nixos/modules/programs/steam.nix +13 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ in { } ''; apply = steam: steam.override (prev: { extraEnv = (lib.optionalAttrs (cfg.extraCompatPackages != [ ]) { STEAM_EXTRA_COMPAT_TOOLS_PATHS = makeBinPath cfg.extraCompatPackages; }) // prev.extraEnv; extraLibraries = pkgs: let prevLibs = if prev ? extraLibraries then prev.extraLibraries pkgs else [ ]; additionalLibs = with config.hardware.opengl; Loading @@ -68,6 +71,16 @@ in { ''; }; extraCompatPackages = mkOption { type = types.listOf types.package; default = [ ]; description = lib.mdDoc '' Extra packages to be used as compatibility tools for Steam on Linux. Packages will be included in the `STEAM_EXTRA_COMPAT_TOOLS_PATHS` environmental variable. For more information see <https://github.com/ValveSoftware/steam-for-linux/issues/6310">. ''; }; remotePlay.openFirewall = mkOption { type = types.bool; default = false; Loading Loading
nixos/modules/programs/steam.nix +13 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ in { } ''; apply = steam: steam.override (prev: { extraEnv = (lib.optionalAttrs (cfg.extraCompatPackages != [ ]) { STEAM_EXTRA_COMPAT_TOOLS_PATHS = makeBinPath cfg.extraCompatPackages; }) // prev.extraEnv; extraLibraries = pkgs: let prevLibs = if prev ? extraLibraries then prev.extraLibraries pkgs else [ ]; additionalLibs = with config.hardware.opengl; Loading @@ -68,6 +71,16 @@ in { ''; }; extraCompatPackages = mkOption { type = types.listOf types.package; default = [ ]; description = lib.mdDoc '' Extra packages to be used as compatibility tools for Steam on Linux. Packages will be included in the `STEAM_EXTRA_COMPAT_TOOLS_PATHS` environmental variable. For more information see <https://github.com/ValveSoftware/steam-for-linux/issues/6310">. ''; }; remotePlay.openFirewall = mkOption { type = types.bool; default = false; Loading