https://nixos.wiki/wiki/Impermanence
Also NixOs has absurd levels of control for upgrades, rollbacks, and control over the build and resulting files.
https://nixos.wiki/wiki/Impermanence
Also NixOs has absurd levels of control for upgrades, rollbacks, and control over the build and resulting files.
$ smol@computer ~> du -hcs /nix/store/
257G /nix/store/I have 45G, and this computer is more than two years old
It's totally worth the stability, but maybe not the best choice for the storage-constrained.
EDIT: According to nix-tree my current generation is only 45gb right now.
When I switched from Debian to NixOS a few years ago, I installed it on a separate subvolume, and it ended up taking almost exactly as much space as Debian did (about 12 GiB with gnome and everything else). And really, what would you expect? It's nearly all the same code, just organized differently in the filesystem.
P.S., you can check the store usage of the current system profile with `nix path-info -Sh /run/current-system`.