• balsoft@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    The process then still is: check out that Git repository, except there’s another step: copy over your private key so that you can decrypt your secrets.

    I store my secrets in a separate private git repo and automatically decrypt them with my hardware key (https://github.com/balsoft/nixos-config/blob/master/modules/secrets.nix) so for me it’s literally just plug in my yubikey and nixos-install github:balsoft/nixos-config#hostname

    • Vincent@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      How do you access the private Git repo then? Don’t you need a secret to access it?

      • balsoft@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        22 hours ago

        The ssh key to access the private git repo is on the same yubikey as the decryption key (they are technically different GPG slots but I don’t need to care about that, just plug the key in, type in the pin, and it all works automagically)