add yubikey

This commit is contained in:
2026-04-23 15:26:14 -05:00
parent f6011be1d1
commit 1a609d14dc
3 changed files with 32 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@
# ./ssh
./tailscale
./syncthing
./yubikey
# ./sops
];
-1
View File
@@ -20,7 +20,6 @@ in {
};
homebrew = {
casks = [
"tailscale-app"
];
+31
View File
@@ -0,0 +1,31 @@
{
pkgs,
config,
lib,
...
}:
let
service = "yubikey";
cfg = config.system.${service};
in {
options.system.${service} = {
enable = lib.mkEnableOption "enables ${service}";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
yubikey-personalization
yubikey-manager
yubikey-piv-tool
];
homebrew = {
casks = [
"yubico-authenticator"
];
};
};
}