gui/steam.nix: reduce size
This commit is contained in:
parent
2b507eb6a4
commit
cf7d426b06
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue