Nix.conf and --option substituters not work in nixos-rebuild

tring to change nix substituters, with --option substituters, and ~/.config/nix/nix.conf file, however nixos-rebuild it will continually use the previous substituters.

I’m having the same problem… :expressionless:

Are you a trusted user? I think nix ignores substituters silently if you aren’t a trusted user

I believe I am, I have this line in my config file

nix.settings.trusted-users = [ username ];