feat: steam gamescope packages
This commit is contained in:
parent
a08cada447
commit
cbb415fd66
1 changed files with 21 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue