Skip to content

Trust local machine nix store public keys #1210

@yajo

Description

@yajo

After formatting, when disko tries to install the new system, I get lots of these warnings:

warning: ignoring substitute for '/nix/store/z2alpp0lj131ilzs73ci5jxn2xlkaw6v-which-2.23' from 'local', as it's not signed by any of the keys in 'trusted-public-keys'

IMHO disko should try to authorize local public keys in remote nix daemon, so that more derivations can be sent instead of built remotely.

The command I used was:

nix run github:nix-community/nixos-anywhere/92f82c5196a5f8588be4967e535c4cfd35e85902 -- --flake .#teide --target-host nixos@nixos-installer.local --option accept-flake-config true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions