about summary refs log tree commit diff
path: root/home/yubikey/default.nix
blob: 640ed0953536a09891903698aa0f52e3f64ca93b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 ];
  };
}