users.users.<name?>.createHome clobbers permissions of /var/empty when users.users.<name?>.home is unset #14910
Labels
0.kind: bug
Something is broken
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Title sums it up pretty well. The default value of home is "/var/empty" and createHome modifies that to have the usual home directory permissions for that user, which breaks polkitd (among other things). It's easy to assume that createHome will default to creating a conventional /home/<name?> directory, so the documentation should be updated and/or the default behavior changed.
The polkitd breakage manifests with the following error when e.g. systemctl commands requiring authentication are ran:
The text was updated successfully, but these errors were encountered: