nix.settings.trusted-public-keys

NixOS option

List of public keys used to sign binary caches. If nix.settings.trusted-public-keys is enabled, then Nix will use a binary from a binary cache if and only if it is signed by any of the keys listed here. By default, only the key for cache.nixos.org is included.

type: list of string
Default
[ ]
Example
[
  "hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
]
declared in: nixos/modules/config/nix.nixView source on NixOS/nixpkgs →