steam override and env variables

This commit is contained in:
Noa Aarts 2024-05-11 10:56:44 +02:00
parent 6b54b0d739
commit e762116ed4
2 changed files with 23 additions and 1 deletions

View file

@ -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;