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

need to add trusted-users options in /etc/nix/nix.conf for home-manager users #2

Closed
junyi-hou opened this issue Mar 16, 2021 · 2 comments

Comments

@junyi-hou
Copy link
Contributor

For people who do not use nixOS, I need to run
sudo echo "trusted-users = $(whoami)" >> /etc/nix/nix.conf to enable cacheix substitution and public key defined in ~/.config/nix/nix.conf.

Also, it would be good to include a warning on the security issues associated with this (as indicated in the manual here)

@jonascarpay
Copy link
Owner

I added note and a link to this issue to this issue in the README.

Note that this also applies to people who run NixOS, but in that case you just add your own username to the nix.trustedUsers system option.

@junyi-hou
Copy link
Contributor Author

Thanks!

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