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 = {
enable = true; # Enables the driver lol
daemon.enable = true; # Enables the daemon via systemd
blacklistedKernelModules = [ # Disable conflicting drivers
blacklistedKernelModules = [
# Disable conflicting drivers
"hid-uclogic"
"wacom"
];
};
hardware.graphics.enable32Bit = true;
services.ratbagd.enable = true; # ratbagd for gaming mouse config
environment = {
@ -33,8 +36,7 @@
XDG_BIN_HOME = "$HOME/.local/bin";
XDG_DATA_HOME = "$HOME/.local/share";
## Steam needs this to find Proton-GE
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
PATH = [ "\${XDG_BIN_HOME}" ];
NIXOS_OZONE_WL = "1";
@ -59,7 +61,9 @@
gamemode = {
enable = false;
settings = {
general = { renice = 10; };
general = {
renice = 10;
};
## Warning: GPU optimisations have the potential to damage hardware
gpu = {
apply_gpu_optimisations = "accept-responsibility";