I manage my nix.conf
in my home-manager configuration. This means that when the devenv tutorial tells me to do cachix use devenv
, I get
cachix: /home/james/.config/nix/nix.conf: withFile: permission denied (Permission denied)
From memory, cachix use
adds a url to the substituters
list.
My first instinct is to assume that the rule is cachix use foo
just means “add foo.cachix.org
to substituters in nix.conf”.
Is this correct? If so all I need to do is add that url to my home-manager config. But it occurred to me that this might not be sufficient, it might add to trusted public keys and do other things as well.