You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.
Basically, extraUsers are not created until after openssh authorized_keys have been updated. For users that rely on createHome to get their home directories, this means a single-step deployment breaks and the keys are never installed. (openssh silently skips any users without home directories)
The text was updated successfully, but these errors were encountered:
Correct me if I'm wrong, but isn't authorized_keys generated when the ssh service is restarted? And that should happen after the users are created, shouldn't it? How does your use case look? Is this on the boot-up activation, or after nixos-rebuild switch?
This is during a switch. I have verified that in two steps (add the user with createHome = yes, switch, add the SSH key, switch again), the keys are created correctly.
Basically, extraUsers are not created until after openssh authorized_keys have been updated. For users that rely on createHome to get their home directories, this means a single-step deployment breaks and the keys are never installed. (openssh silently skips any users without home directories)
The text was updated successfully, but these errors were encountered: