2020-06-27
· 4 minutes read
·
NixOS
Linux
Tmpfs
Impermanence
This is a follow-up post for my earlier post: NixOS ❄: tmpfs as root.
When you start to go down the route of setting up a “pure” system that is as
clean as you want it to be on each boot. You may start with the lazy route of
using a persistent partition for your home directory. But it never feels
quite right. But initially it’s so convenient to choose this path.
Read On →
2020-05-02
· 6 minutes read
·
NixOS
Linux
Tmpfs
Impermanence
This post covers both EFI and legacy boot setups.
One fairly unique property of NixOS is the ability to boot with only /boot
and /nix
. Nothing else is actually required. This supports doing all sorts
of weird things with your root file system.
One way is to do like Graham’s post “erase your darlings” describes and empty
your root file system each boot using ZFS snapshots. This way have some cool
things that you could do on top of his setup, such as doing snapshots when
it’s running and roll-back to empty on boot. That way you actually can go
back to recover files you lost but still have an empty state.
Read On →