You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying any of the settings from https://archive.vn/9SiO8#description-42 and restarting nix-daemon on a multi-user nix install (non-NixOS machine) leads to the same warnings:
warning: ignoring the user-specified setting 'trusted-users', because it is a restricted setting and you are not a trusted user
The only settings when ought to be effective have to go in the global /etc/nix/nix.conf file.
Example:
Edit: Using a simple example.
I want to build a derivation:
nix-build --no-out-link '<nixpkgs>' -A hello
Steps To Reproduce
My user is in group nix-users and I add trusted-users = @nix-users to ~/.config/nix/nix.conf while XDG_CONFIG_HOME is not set (NIX_CONF_DIR is also not set). Then I restart nix-daemon service.
Expected behavior
Example should build w/o warnings as my user actually should be trusted user according to manual.
nix-env --version output
nix-env (Nix) 2.3.8
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Applying any of the settings from https://archive.vn/9SiO8#description-42 and restarting nix-daemon on a multi-user nix install (non-NixOS machine) leads to the same warnings:
The only settings when ought to be effective have to go in the global
/etc/nix/nix.conf
file.Example:
Edit: Using a simple example.
I want to build a derivation:
Steps To Reproduce
My user is in group
nix-users
and I addtrusted-users = @nix-users
to~/.config/nix/nix.conf
while XDG_CONFIG_HOME is not set (NIX_CONF_DIR is also not set). Then I restart nix-daemon service.Expected behavior
Example should build w/o warnings as my user actually should be trusted user according to manual.
nix-env --version
outputAdditional contextAdd any other context about the problem here.The text was updated successfully, but these errors were encountered: