Add gamescope and mangohud directly into steams FHSEnv

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-09 23:43:50 +02:00
parent 0328687755
commit 365fd41adc
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -3,12 +3,21 @@
programs.gamemode.enable = true;
environment.systemPackages = [
pkgs.mangohud
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam-small.override {
extraPkgs = p: with p; [
p.gamescope
p.mangohud
];
extraLibraries = p: with p; [
p.libkrb5
p.keyutils
];
};
};
services.udev.extraRules = ''