Skip to content

I'm an untrusted user and nix asks me to set extra-trusted-public-keys from a flakes nixConfig and then ignores me #6752

@NobbZ

Description

@NobbZ

Describe the bug

Given a flake with a nixConfig attribute, nix asks me to confirm all the settings, just to tell me that it ignores what I just did, as I am not a trusted user.

So why does nix bother me at all?

Steps To Reproduce

  1. run nix run github:viperML/dotfiles#resolve-march-native
  2. Accept the substitutor and the public key
  3. See that "untrusted substituter" will be ignored

Expected behavior

Either adhere to my choice and use the substituters or do not bother me with questions.

nix-env --version output

$ nix --version
nix (Nix) 2.10.0pre20220629_b7eb4ac

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions