Join Discord
Powered by
After a few hours of working on all the gotchyas I...
# show-and-tell
j
jolly-camera-78553
02/19/2026, 1:31 AM
After a few hours of working on all the gotchyas I encountered, I think I'm finally at a spot to comfortably game on my NixOS machine. These components all together made the setup full of a bunch of little papercuts: - Nvidia GPU (5070 Ti) - Completely headless gaming setup powered by Sunshine and Moonlight - Autologin with KDE But, here's the NixOS configuration I came up with for Sunshine + KDE autologin: -
https://github.com/heywoodlh/nixos-configs/blob/master/nixos/roles/gaming/sunshine.nix
And NixOS configuration for Nvidia-Patch (drastically improves performance for Linux+Nvidia for streaming): -
https://github.com/heywoodlh/nixos-configs/blob/master/nixos/roles/gaming/nvidia-patch.nix
- Powered by:
https://github.com/icewind1991/nvidia-patch-nixos
An example of one of the multiple gotchyas I encountered: - On sleep, monitor gets removed on X11 with Nvidia:
https://bugs.kde.org/show_bug.cgi?id=460341
- (Causes Sunshine to be unable to stream)
Previous
Next