Open PaulGrandperrin opened 2 years ago
Getting this error (albeit sometimes on a different line, 26) frequently after upgrading to nixos-22.11 (rev 82891b5e2c2359d7e58d08849e4c89511ab94234, Nix 2.11.0). Nix-serve has become, sadly, basically unusable with the frequency of errors.
I just ran into this and the issue turned out to be that the user running nix-serve didn't have access to the nix daemon. I think by default the user that runs nix-serve is also called nix-serve. So, in my flake, I added config.nix.settings.allowed-users = ["nix-serve"];
.
Both client and server are on 20-05 and using default conf (AFAICT).
On client:
On server: