Open roberth opened 1 year ago
Can you try with kickstart -k
? I'm not exactly sure how to interpret what the manpage says, but it might be material:
-k If the service is already running, kill the running instance before restarting the service.
That worked. Thank you!
It's a small and silly mistake to make, but nonetheless I think nix-daemon
should watch its config file so that none of this is necessary.
Triaged in Nix maintainers meeting:
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-09-22-nix-team-meeting-minutes-88/33343/1
Troubleshooting a silly mistake I, an experienced but human Nix user, made while updating nix.conf
**Describe the bug** I can't get the nix-daemon to trust my user. **Steps To Reproduce** 1. Install nix on an M2 2. Add to `/etc/nix/nix.conf` (example with `roberth` for the user name. This user is also in the `staff` group.) ``` trusted-users = @staff roberth ``` 3. `sudo launchctl kickstart system/org.nixos.nix-daemon` 4. `nix store ping` Result has: ``` Trusted: 0 ``` 6. Try a remote build. Log has ``` > error: you are not privileged to build input-addressed derivations ```Expected behavior
Not even a kickstart should be necessary. It should just pick up the change.
nix-env --version
outputAdditional context
Priorities
Add :+1: to issues you find important.