3 ms·
Wouldn't it make more sense to use an encrypted volume you throw away the key for though? That's a lot of RAM for files you don't need in RAM all the time.
by XorNot 2y ago
Wouldn't it make more sense to use an encrypted volume you throw away the key for though? That's a lot of RAM for files you don't need in RAM all the time.
- pxc 2y agoYou can also use a ZFS or BTRFS snapshot that gets restored in the initramfs, discarding your changes. That's a common approach for people doing this on NixOS.
- yjftsjthsd-h 2y ago> That's a lot of RAM for files you don't need in RAM all the time. It shouldn't be; the idea is to make it so little to no data actually gets written to that tmpfs (everything is in /nix, /persist, or /home), and it's only even present and not read-only in case you've missed something.
- anotherhue 2y agoI track it and it's rarely over 100 or 200MB, which is nothing to a 32GB machine.