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
|
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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue