feat: steam gamescope packages

This commit is contained in:
ooks-io 2024-02-15 20:32:23 +13:00
parent a08cada447
commit cbb415fd66

View file

@ -2,6 +2,23 @@
let let
cfg = config.systemProfile.gaming; cfg = config.systemProfile.gaming;
steamFix = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
mangohud
winetricks
protontricks
];
};
in in
{ {
@ -12,7 +29,10 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
hardware.opengl.extraPackages = [ pkgs.gamescope ]; hardware.opengl.extraPackages = [ pkgs.gamescope ];
programs = { programs = {
steam.enable = true; steam = {
enable = true;
package = steamFix;
};
gamescope = { gamescope = {
enable = true; enable = true;
capSysNice = true; capSysNice = true;