mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
fix(nix/steam): move STEAM_USE_PORTAL to extraEnv
This commit is contained in:
1 parent
1cacabb944
commit
4f335e4e8b
1 file changed
+3
-4
@@ -7,6 +7,9 @@
|
|||||||
proton-ge-bin
|
proton-ge-bin
|
||||||
];
|
];
|
||||||
package = pkgs.steam.override {
|
package = pkgs.steam.override {
|
||||||
|
extraEnv = {
|
||||||
|
STEAM_USE_PORTAL = "1";
|
||||||
|
};
|
||||||
extraPkgs = p: with p; [
|
extraPkgs = p: with p; [
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
@@ -34,11 +37,7 @@
|
|||||||
pkgsi686Linux.mesa
|
pkgsi686Linux.mesa
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.sessionVariables = {
|
|
||||||
STEAM_USE_PORTAL = "1";
|
|
||||||
};
|
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user