mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
758 B
758 B
NixOS
NixOS itself obviously needs /nix to be persistent, so the system environment
can be linked from the nix store during activation.
Moreover, /boot should also be persistent, as it contains the kernel, initrd,
and the command-line determining the system environment's path in the nix store.
Users and groups
/var/lib/nixosshould persist: it holds state needed to generate stable uids and gids for declaratively-managed users and groups, etc.users.mutableUsersshould be false, or the following files under/etcshould all persist:- {manpage}
passwd(5)and {manpage}group(5), - {manpage}
shadow(5)and {manpage}gshadow(5), - {manpage}
subuid(5)and {manpage}subgid(5).
- {manpage}