This commit is contained in:
serenity-F 2024-11-30 05:35:13 +10:00
parent bf40343e5b
commit 21fe8e993c

View file

@ -47,12 +47,14 @@
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
## Note: this doesn't replace PATH, it just adds this to it
PATH = [ "\${XDG_BIN_HOME}" ];
SDL_VIDEODRIVER = "wayland";
};
};
programs = {
## Java for some reason
java.enable = true;
#java.enable = true;
## To run "normal" linux applications seamlessly
appimage = {
@ -62,14 +64,14 @@
## Gamescope compositor for steam
## (config copy-pasted from nixos wiki)
gamescope = {
enable = true;
capSysNice = true;
args = [
"--rt"
"--expose-wayland"
];
};
#gamescope = {
#enable = true;
#capSysNice = true;
#args = [
#"--rt"
#"--expose-wayland"
#];
#};
## "GameMode" - https://nixos.wiki/wiki/Gamemode
## (config copy-pasted from mynixos)
@ -96,9 +98,9 @@
steam = {
enable = true;
## This should help games run more betterer
gamescopeSession = {
enable = true;
};
#gamescopeSession = {
#enable = true;
#};
## No clue what this is doing
package = pkgs.steam.override {
extraLibraries = pkgs: [