-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Running the installer on single-user Nix installs nixbld* accounts #287
Comments
They are not required but the installer creates them by default to make upgrading a single user install or accidentally misconfiguring |
Creating these users might be triggering a bug where doing a Big Sur update boots you to System Recovery. That bug report talks about multi-user nix installs but I encountered it on a single user install. I think the reason it happened to me is that even though I was using single-user nix, nix-darwin still created the problematic The solution to the nix bug seem to be to rename and relocate the users. So regardless of whether nix-darwin continues to create the users on single-user installs, it looks like nix-darwin will need to be made aware of that change. Also - just for context - it seems likely that single-user installs might be going away on darwin. |
Yeah, I'm aware of that issue. The module should be updated to create and migrate the new users, that way As a workaround it's possible to disable this step by adding the following to your configuration during install. { config, lib, ... }:
with lib;
{
users.nix.configureBuildUsers = mkForce false;
} |
Just got this message when I was rebuilding my config.
But I don't have |
@ahmedelgabri the following worked for me: Run You can also just add that line and rebuild. |
@azuzunaga I already added that to my config and it worked. I was just wondering why I didn't have |
I've just nuked my nix install (running in the single user mode) and reinstalled it again (in the single user mode). I then tried to install nix-darwin, and I'm noticing this:
nixbld*
users should not be created for a single-user mode, no?My system is 10.14.6 (Mojave), and zsh is my main shell.
The text was updated successfully, but these errors were encountered: