about summary refs log tree commit diff
path: root/modules/services/pcscd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/pcscd')
-rw-r--r--modules/services/pcscd/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/services/pcscd/default.nix b/modules/services/pcscd/default.nix
new file mode 100644
index 0000000..84a588e
--- /dev/null
+++ b/modules/services/pcscd/default.nix
@@ -0,0 +1,11 @@
+# PCSCD management
+{ config, lib, ... }:
+let cfg = config.my.services.pcscd;
+in
+{
+  options.my.services.pcscd = {
+    enable = lib.mkEnableOption "pcscd configuration (for yubikeys)";
+  };
+
+  config = lib.mkIf cfg.enable { services.pcscd.enable = true; };
+}