Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-allocate-uids not respected #1392

Open
nrabulinski opened this issue Mar 20, 2025 · 2 comments
Open

auto-allocate-uids not respected #1392

nrabulinski opened this issue Mar 20, 2025 · 2 comments

Comments

@nrabulinski
Copy link
Contributor

After updating my flake I'm left with an error saying nix-darwin is refusing to delete nixbld user which does not exist on my system because I'm using the auto-allocate-uids feature. That assertion should only apply if that feature is not enabled.

@nrabulinski
Copy link
Contributor Author

I temporarily worked around the issue by adding

users.knownUsers = lib.mkForce [];
users.knownGroups = lib.mkForce [];

But this only works because no other module appends to those options

@isabelroses
Copy link
Contributor

isabelroses commented Mar 20, 2025

Take a look at #1335 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants