all repos — nixfiles @ 2b98d3e0025d44acc57bd35a08a9b7e424b39ed3

System and user configuration, managed by nix and home-manager

nitrokey: Enable gnupg user agent services
Alan Pearce alan@alanpearce.eu
Thu, 05 Oct 2017 16:39:28 +0200
commit

2b98d3e0025d44acc57bd35a08a9b7e424b39ed3

parent

34a3a77898d747eadf7549be53fe75be0d444a46

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M modules/hardware/nitrokey.nixmodules/hardware/nitrokey.nix
@@ -6,6 +6,14 @@ # pkgsUnstable = pkgs; in
 { programs.ssh.startAgent = false;
 
+  programs.gnupg = {
+    agent = {
+      enable = true;
+      enableSSHSupport = true;
+    };
+    dirmngr.enable = true;
+  };
+
   hardware.nitrokey = {
     enable = true;
   };