gpg: add ssh keys

This commit is contained in:
Felix Schröter 2020-07-12 22:19:52 +02:00
parent 3cf5c93efa
commit 5422f74678
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
2 changed files with 8 additions and 6 deletions

View file

@ -28,9 +28,10 @@ with pkgs;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
extraConfig = ''
pinentry-program ${pkgs.pinentry-gnome}/bin/pinentry-gnome3
'';
sshKeys = [ "967EC4516D18D0E1211FCFC38B1CAF89FF627FCA" ];
defaultCacheTtl = 600;
defaultCacheTtlSsh = 600;
pinentryFlavor = "gnome3";
};
programs.gpg.enable = true;

View file

@ -32,9 +32,10 @@
services.gpg-agent = {
enable = true;
enableSshSupport = true;
extraConfig = ''
pinentry-program ${pkgs.pinentry-gnome}/bin/pinentry-gnome3
'';
sshKeys = [ "4AE1DDE05F4BB6C8E220501F1336A98E89836D90" ];
defaultCacheTtl = 600;
defaultCacheTtlSsh = 600;
pinentryFlavor = "gnome3";
};
programs.gpg.enable = true;