Home Explore Blog CI



nixpkgs

1st chunk of `nixos/doc/manual/administration/system-state.chapter.md`
da99f874523883cdf530dc9a7b3dc3abb3b85ca2e1be6f3500000001000001fc
# Necessary system state {#ch-system-state}

Normally — on systems with a persistent `rootfs` — system services can persist state to
the filesystem without administrator intervention.

However, it is possible and not-uncommon to create [impermanent systems], whose
`rootfs` is either a `tmpfs` or reset during boot. While NixOS itself supports
this kind of configuration, special care needs to be taken.



```{=include=} sections
nixos-state.section.md
systemd-state.section.md
zfs-state.section.md
```

Title: Necessary System State
Summary
This section discusses how system services can persist state on systems, particularly when dealing with impermanent systems where the root filesystem (rootfs) is temporary or reset on boot. It highlights the considerations needed for NixOS configurations in such scenarios and points to further sections detailing specific aspects of managing state with NixOS.