about summary refs log tree commit diff
path: root/home/yubikey
diff options
context:
space:
mode:
Diffstat (limited to 'home/yubikey')
-rw-r--r--home/yubikey/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/home/yubikey/default.nix b/home/yubikey/default.nix
new file mode 100644
index 0000000..640ed09
--- /dev/null
+++ b/home/yubikey/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, config, lib, ... }:
+let cfg = config.my.home.yubikey;
+in
+{
+  options.my.home.yubikey = with lib; {
+    enable = mkEnableOption "yubikey tooling";
+  };
+
+  config = lib.mkIf cfg.enable {
+    home.packages = with pkgs; [ yubikey-manager ];
+  };
+}