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,16 +98,16 @@
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: [
pkgs.xorg.libxcb pkgs.xorg.libxcb
]; ];
## No clue what this shit does ## No clue what this shit does
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: with pkgs; [
xorg.libXcursor xorg.libXcursor
xorg.libXi xorg.libXi
xorg.libXinerama xorg.libXinerama
@ -117,7 +119,7 @@
libkrb5 libkrb5
keyutils keyutils
gamemode gamemode
]; ];
}; };
## Not sure we need gamescope here ## Not sure we need gamescope here
## as it's defined elsewhere but o well ## as it's defined elsewhere but o well