docs(README.md): add section on impermanence

This commit is contained in:
Mohammad Rafiq 2025-05-21 11:27:42 +08:00
parent 29edcb1502
commit 5a86a04e37
No known key found for this signature in database

View file

@ -18,3 +18,7 @@ The following files are **required** for system activation:
- /persist/home/${mainUser}/.ssh/id_ed25519
This private key will be used by sops-nix to decrypt the secrets in [[secrets/secrets.yaml]]. The secrets inside the yaml file should also be set, or otherwise removed alongside their declarations (in [[modules/nixos/system/secrets.nix]]) and references.
# Impermanence
System and user state is stored under /persist. Anything not declared under `{environment,home}.persistence` is deleted on system boot.