Files
nix/modules/darwin/yubikey/default.nix
T
2026-04-23 15:32:38 -05:00

35 lines
502 B
Nix

{
pkgs,
config,
lib,
...
}:
let
service = "yubikey";
cfg = config.darwin.${service};
in {
options.darwin.${service} = {
enable = lib.mkEnableOption "enables ${service}";
};
config = lib.mkIf cfg.enable {
# environment.systemPackages = with pkgs; [
# yubikey-personalization
# yubikey-manager
# yubikey-piv-tool
# ];
homebrew = {
brews = [
"yubico-piv-tool"
];
casks = [
"yubico-authenticator"
];
};
};
}