-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
What does loginShell do? #361
Comments
The only reference I see to Given this, I'd suggest that |
Any update to this? I assumed this option would do something like |
Also see #328 The documentation is extremely misleading, |
Inspecting the code, I could not find what
loginShell
is used for except fortmux
. For context, I'm trying to make macOS load the nix-darwinzsh
instead of the system one, with an existing user (not created through nix-darwin).I have tried:
The only way to make it work is to either
chsh
or something like whats done indscl . -create '/Users/${v.name}' UserShell '${v.shell}'
.I think it would be great if https://github.com/LnL7/nix-darwin/blob/master/modules/users/default.nix#L152-L168 did set the shell even if the user already exists.
The text was updated successfully, but these errors were encountered: