-
-
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
Can't set user shell without giving nix-darwin complete control over my user #328
Comments
Faced similar issue. The only feasible solution here is to manually change shell for my user. |
I am affected the same way. If one forgets to set |
Shall the behavior be changed so that nix takes control of users that have |
I think so. I am trying to use nix to manage my computer, installing programs like a package manager etc, however I will also use non nix programs so I won't get totally repeatable builds. I am using it for convience. I think this should be an option though as some people will want the full control. The default should be to allow the chnage as that is what beginners will try to do. |
I want to use nix-darwin to set my user's login shell, but it doesn't look like there's any way to do this. From reading through the user module source, it only seems to set user properties for
knownUsers
, and only when the user doesn't exist yet. There's an option to force-recreate users, but this is a tremendously bad idea for my own user account. I really would have expected some way to have nix-darwin update my user with the specifically-configured properties (well, basically just shell, the others seem risky to do on my user account). I can presumably write my own custom activation script for this but I shouldn't have to.The text was updated successfully, but these errors were encountered: