Files
r-vdp 3d3e3dbfc4 nixos/userborn: import legacy /var/lib/nixos state on first run
ids that were allocated and later freed only live in
/var/lib/nixos/{uid,gid}-map. userborn allocates from /etc/passwd
alone, so without this a new user could get a previously-used uid and
inherit file ownership.

Service has a ConditionPathExists on the uid-map and a sentinel under
/var/lib/userborn, so it runs at most once and is a no-op on fresh
installs.
2026-08-13 12:16:35 +02:00
..