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
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
{
@ -12,7 +29,10 @@ in
config = lib.mkIf cfg.enable {
hardware.opengl.extraPackages = [ pkgs.gamescope ];
programs = {
steam.enable = true;
steam = {
enable = true;
package = steamFix;
};
gamescope = {
enable = true;
capSysNice = true;