3 ms·
How that could work with suspend/hibernation when one doesn't do reboot for weeks? I rarely shutdown Linux desktop. I also keep desktop VMs with project contex
by imhoguy 7y ago
How that could work with suspend/hibernation when one doesn't do reboot for weeks?
I rarely shutdown Linux desktop. I also keep desktop VMs with project context suspended to just reopen it next day or in a month to be at place where I stopped the work.
- pas 7y agoWhy wouldn't it work with suspend? NixOS works because it's brutally up-front about its declarativeness. Since you have to specify everything in your config that's not what the default gives you, you'll have your own changes in your config file (or files). It's great because it separates /etc into vendor-provided defaults and your own customizations. It's not so great because it's not that automatic, you need to script it. systemd/Lennart also explored this topic a bit: https://www.youtube.com/watch?v=pL0AMLiwPj8 https://www.youtube.com/watch?v=pL0AMLiwPj8 https://www.freedesktop.org/software/systemd/man/systemd-volatile-root.service.html https://www.freedesktop.org/software/systemd/man/systemd-vol...
- lmm 7y agoIt couldn't. You need to enforce that you really do reboot pretty often (e.g. by scheduling a weekly reboot).