I’ve setup an old desktop computer as a homelab server running nixOS with no DE. My config file is super simple and just sets up wireguard, docker and ssh. The only problem I have is that whenever I don’t have an open session to that machine (via ssh or on the machine itslef) it seems to go to sleep or suspend and all my services go down. Any way to solve this?
I’ve already tried powerManagement.enable = false; but it doesn’t help. Any suggestions are welcome!