fixing steam?

This commit is contained in:
serenity-F 2026-04-09 17:44:08 +10:00
parent 27d4a62cf6
commit 74fb0cb319
No known key found for this signature in database

View file

@ -5,12 +5,15 @@
hardware.opentabletdriver = { hardware.opentabletdriver = {
enable = true; # Enables the driver lol enable = true; # Enables the driver lol
daemon.enable = true; # Enables the daemon via systemd daemon.enable = true; # Enables the daemon via systemd
blacklistedKernelModules = [ # Disable conflicting drivers blacklistedKernelModules = [
# Disable conflicting drivers
"hid-uclogic" "hid-uclogic"
"wacom" "wacom"
]; ];
}; };
hardware.graphics.enable32Bit = true;
services.ratbagd.enable = true; # ratbagd for gaming mouse config services.ratbagd.enable = true; # ratbagd for gaming mouse config
environment = { environment = {
@ -33,8 +36,7 @@
XDG_BIN_HOME = "$HOME/.local/bin"; XDG_BIN_HOME = "$HOME/.local/bin";
XDG_DATA_HOME = "$HOME/.local/share"; XDG_DATA_HOME = "$HOME/.local/share";
## Steam needs this to find Proton-GE ## Steam needs this to find Proton-GE
STEAM_EXTRA_COMPAT_TOOLS_PATHS = STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
"\${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}" ];
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
@ -59,7 +61,9 @@
gamemode = { gamemode = {
enable = false; enable = false;
settings = { settings = {
general = { renice = 10; }; general = {
renice = 10;
};
## Warning: GPU optimisations have the potential to damage hardware ## Warning: GPU optimisations have the potential to damage hardware
gpu = { gpu = {
apply_gpu_optimisations = "accept-responsibility"; apply_gpu_optimisations = "accept-responsibility";
@ -83,18 +87,18 @@
gamescopeSession.enable = true; gamescopeSession.enable = true;
## No clue what this is doing ## No clue what this is doing
#package = pkgs.steam.override { #package = pkgs.steam.override {
#extraLibraries = pkgs: [ pkgs.xorg.libxcb ]; #extraLibraries = pkgs: [ pkgs.xorg.libxcb ];
## No clue what this shit does ## No clue what this shit does
#extraPkgs = pkgs: #extraPkgs = pkgs:
#with pkgs; [ #with pkgs; [
#libpng #libpng
#libpulseaudio #libpulseaudio
#libvorbis #libvorbis
#stdenv.cc.cc.lib #stdenv.cc.cc.lib
#libkrb5 #libkrb5
#keyutils #keyutils
#gamemode #gamemode
#] ++ (with pkgs.xorg; [ libXi libXcursor libXinerama libXScrnSaver ]); #] ++ (with pkgs.xorg; [ libXi libXcursor libXinerama libXScrnSaver ]);
#}; #};
#extraPackages = with pkgs; [ ]; #extraPackages = with pkgs; [ ];
# Gotta have the glorious eggroll # Gotta have the glorious eggroll