I’ve been using NixOS for about a month and most of my time configuring NixOS was spent looking for ways to improve my performance, especially when running cpu intense tasks like games and such.
I have an 11th Gen Intel i5-1135G7 (8) @ 4.200GHz CPU and Intel TigerLake-LP GT2 [Iris Xe Graphics] integrated GPU.
My problem lies in the fact that i’m running a dualboot with debian and for some reason, debian just runs way way better than nixos. I am not sure why.
I tried adding an autonice daemon, and due to my skill issue i couldn’t configure it properly (will take some time to learn that later)
services.auto-cpufreq really helped a lot with performance but it is not nearly as close to debian still
my graphics drivers are set to intel, opengl is enabled, gamemode is enabled and i’ve tried messing with around with kernel versions but nothing really worked as well.
at this point i’m lost so i’ll take any advice i can get, since i really wanna move away from the outdated packages from debian
P.S. The way that performance issues work is i’m getting really really good fps for some time and it drops abysmally and the cpu starts working harder (from what i’ve seen on btop) while fans start blowing harder too. Not sure what exactly is going on in the background to make this happen but this has happened on pretty much every distro i’ve tried that isn’t debian (Arch, OpenSUSE, NixOS)