summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2017-10-05 16:39:28 +0200
committerAlan Pearce2017-10-05 16:39:28 +0200
commit2b98d3e0025d44acc57bd35a08a9b7e424b39ed3 (patch)
tree252c7aacf9c7ed9af0f006875850bee49e7b82a6 /modules/hardware
parent34a3a77898d747eadf7549be53fe75be0d444a46 (diff)
downloadnixos-configuration-2b98d3e0025d44acc57bd35a08a9b7e424b39ed3.tar.lz
nixos-configuration-2b98d3e0025d44acc57bd35a08a9b7e424b39ed3.tar.zst
nixos-configuration-2b98d3e0025d44acc57bd35a08a9b7e424b39ed3.zip
nitrokey: Enable gnupg user agent services
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/nitrokey.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/hardware/nitrokey.nix b/modules/hardware/nitrokey.nix
index 7de3857..a0a27b0 100644
--- a/modules/hardware/nitrokey.nix
+++ b/modules/hardware/nitrokey.nix
@@ -6,6 +6,14 @@ let
 in
 { programs.ssh.startAgent = false;
 
+  programs.gnupg = {
+    agent = {
+      enable = true;
+      enableSSHSupport = true;
+    };
+    dirmngr.enable = true;
+  };
+
   hardware.nitrokey = {
     enable = true;
   };