-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
sudo: /private/etc/sudoers.d/10-nix-darwin-extra-config is owned by uid 501, should be 0 #867
Comments
#888 should mean that that file won't exist unless you have the But it never should have been owned by you instead of root anyway, since it uses |
The priority for Macs is to get rid of the hard drive. /private/etc/sudoers.d/10-nix-darwin-extra-config In both problematic and non-problematic Macs, the two files do not exist. If I were in this situation, what should I add to the security.sudo.extraConfig option to resolve the issue? Reinstalling does not fix the problem, as it persists every time. |
I'm not exactly sure what your issue is, but if you update nix-darwin and don't have the |
Is there a way to install macOS and the Nix daemon on the Mac’s original hard drive as usual, but install all additional Nix stores on an external hard drive? On Linux systems other than NixOS, I’ve been solving this issue by moving the Nix store to another location and running the following script at every reboot: mkdir -pv /nix
mount --bind /home/user/new-nix-store /nix I hope that a similar solution could resolve the multi-user issue on macOS. To achieve this, we might need a way to bypass mounting /nix on a new volume of APFS. Does anyone know how to do this? If such an option is added to the Nix installer for macOS, it would perfectly solve the issue. |
Solved |
hello.
sudo: /private/etc/sudoers.d/10-nix-darwin-extra-config is owned by uid 501, should be 0
How can I avoid typing commands like the following? I'm just managing macOS installed on an external hard drive. This issue is related to Apple and money. 😅
sudo chown -R root:wheel /nix/var/nix/db
sudo chown -R $USER:staff /nix/store
The text was updated successfully, but these errors were encountered: