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";