steam override and env variables
This commit is contained in:
parent
6b54b0d739
commit
e762116ed4
2 changed files with 23 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, ... }:
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
options.modules.games.steam = {
|
||||
enable = lib.mkEnableOption "enable steam";
|
||||
|
|
@ -10,6 +10,21 @@
|
|||
remotePlay.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
|
||||
package = pkgs.steam.override {
|
||||
extraPkgs = pkgs: with pkgs; [
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXScrnSaver
|
||||
libpng
|
||||
libpulseaudio
|
||||
libvorbis
|
||||
stdenv.cc.cc.lib
|
||||
libkrb5
|
||||
keyutils
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
gamemode.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue