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