user-shell.nix battery does not change user shell on macOS #618
Unanswered
jacobranson
asked this question in
Help - Issues / Problem Solving / How To
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
There's a couple of issues at play here and I think they are all to do with nix-darwin.
The documentation from nix-darwin reads as follows:
There is this issue regarding users struggling to change the default shell using nix-darwin, which led to this pull request being opened, which would document the fact that both
users.knownUsersandusers.users.<name>.uidneed to be populated for the setting to work.I would think that the correct place to put this logic would be either in the user-shell battery or the primary-user battery. I don't love the idea of having to hardcode 501 as the uid for my user in my config because it could theoretically change upon a reinstall or a new device being configured differently out of the box.
Happy to discuss more and do some testing if needed. Loving den so far, thank you!
All reactions