Add flake

This commit is contained in:
Pablo Ovelleiro Corral 2024-03-28 11:04:10 +01:00
parent be490b399c
commit 7846843bea
No known key found for this signature in database
GPG key ID: 29E9A6ED72CCB334
4 changed files with 77 additions and 0 deletions

View file

@ -34,6 +34,11 @@ If you have multiple subkeys, usually it is the authenticate key highlighted wit
./pgp2ssh
```
**Nix/NixOS Users**
A flake is provided for Nix users. Just use `nix run` instead of building and
running manually.
It'll ask you for the path to your private PGP key, followed by choosing the key/subkey and if your PGP key is encrypted it'll ask for the passphrase.
In the output, verify that the public SSH key printed matches the one in `metadata.json`.