this post was submitted on 23 Dec 2025
2 points (100.0% liked)

Nix / NixOS

2555 readers
6 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/40689539

I decided to switch to NixOS on my desktop and so far it's been great, I love being able to build out my config in the Nix file, but there is one thing I've not been able to figure out how to change. After a period of inactivity, the computer suspends (or hibernates?) and basically turns off (all the fans and lights turn off and it disconnects from the network, I don't know if it's saving the state in RAM of the drive). How do I get it to not do that and just lock the desktop and turn off the screen after inactivity? I'm using KDE Plasma and I've tried different kinds of configurations that build successfully but still don't prevent it from going offline.

top 2 comments
sorted by: hot top controversial new old
[โ€“] pipes@sh.itjust.works 4 points 2 days ago

Power Management (KDE settings): When Inactive -> Do Nothing

[โ€“] phanto@lemmy.ca 1 points 2 days ago

I don't know your specific OS, but I use Kaffeine on my Fedora system to prevent sleep.