Hacker News new | ask | show | jobs
by m45t3r 999 days ago
No, since all your system is declarative all the software and related configuration is redone at each reboot. Just the state is removed.

To avoid losing data you want to keep you can also mark directories or files to be stored in the permanent storage.

Take a look at the nixos-impermanence that automates this task to you.