gui/steam.nix: reduce size

This commit is contained in:
Charlie Root 2024-09-20 22:56:21 +02:00
commit cf7d426b06

View file

@ -10,8 +10,19 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.steam = { programs.steam = {
enable = true; enable = true;
package = pkgs.steam-small.override {
extraEnv = {
MANGOHUD = true;
SDL_VIDEODRIVER = "x11";
};
extraLibraries = p:
with p; [
atk
];
};
gamescopeSession.enable = true; gamescopeSession.enable = true;
# extraCompatPackages = with pkgs; [proton-ge-bin]; extraCompatPackages = with pkgs; [proton-ge-bin.steamcompattool];
}; };
# See # See
# https://wiki.nixos.org/wiki/GameMode # https://wiki.nixos.org/wiki/GameMode