fix(nix/steam): move STEAM_USE_PORTAL to extraEnv

This commit is contained in:
elwrcl committed 2026-04-12 23:20:56 +03:00
1 parent 1cacabb944
commit 4f335e4e8b
1 file changed
+3 -4
+3 -4
View File
@@ -7,6 +7,9 @@
proton-ge-bin
];
package = pkgs.steam.override {
extraEnv = {
STEAM_USE_PORTAL = "1";
};
extraPkgs = p: with p; [
xdg-desktop-portal
xdg-desktop-portal-gtk
@@ -34,11 +37,7 @@
pkgsi686Linux.mesa
];
};
environment.sessionVariables = {
STEAM_USE_PORTAL = "1";
};
gamescopeSession.enable = true;
};
programs.bash.enable = true;
}