Ignoring nixConfig
(extra-substituters
, extra-trusted-pubic-keys
).
#11
Labels
enhancement
New feature or request
Hi!
I have a question with respect to the
extra-subsituters
andextra-trusted-public-keys
, which are set by thenixConfig
attribute of this flake.When I run an unfree program for the first time, I have to say that I am OK with these untrusted settings. Then, they are stored in
~/.local/share/nix/trusted-settings.json
. Then, I get the following message when running programs:This is all fine and expected. However, I want a declarative setup and no hidden configuration files.
So, I added the substituter and the public key to
nix.settings.substituters
andnix.settings.trusted-public-keys
, respectively. Nevertheless, I get the same procedure as described above. The declarative settings are not used. How can I load the Nixpkgs-Unfree flake and ignore thenixConfig
bits? I could fork this repository, but that defeats its purpose, doesn't it?The text was updated successfully, but these errors were encountered: