Closed mweinelt closed 1 year ago
The /var/lib/nixos directory contains the uid and gid map for entities without a static id. Not persisting them means your user and group ids could change between reboots, which is likely undesirable.
/var/lib/nixos
Thanks!
Does this only affect systems with users.mutableUsers = true?
users.mutableUsers = true
It's about users.users and users.groups entries without statically allocated uid/gid.
users.users
users.groups
The
/var/lib/nixos
directory contains the uid and gid map for entities without a static id. Not persisting them means your user and group ids could change between reboots, which is likely undesirable.