Dealing with CPU fan issues on NixOS


What options exist for monitoring, diagnosing, troubleshooting, controlling CPU fan behaviour on NixOS?

My problem

For a while now, the CPU fan on my (NixOS) laptop keeps running forever, once it starts.

Specifically, when I wake the machine from suspension, the fan does not spin until the core temperatures reach the high 60s. Once it has started, the fan then continues to spin forever, even if the system becomes idle and the core temperatures drop: I regularly hear the fan spinning briskly without pause when the load remains around 0.25% CPU and all the cores’ temperatures have been below 53°C (with only the briefest of excursions above 50°C) for minutes on end.

When I suspend the machine and wake it, the fan is quiet … until the cores’ temperatures approach the 70s, and the then fan turns on permanently once more.

It’s starting to drive me nuts.

You may find something here, it certainly fixed a few quirks with the janky hardware I have.


you maybe great better success with an older or newer kernel…

I can actually recommend you do this, because it’s nixos…

'remove the ever overwhelming anxiety and fear of completely mutating your system, and back again

with out the apt–fsck/running at too higher rpm ’

if it’s not that , then there maybe a dedicated fan/apm/pm package for your laptop. You didn’t say what it was, i think it may be one of these.


1 Like

OK, you’re freaking me out. How did you know what hardware I have? Did you bribe my home-security ninjas?