NixOS/extra/yubikey.nix

14 lines
506 B
Nix
Raw Normal View History

{ pkgs, config, ... }: {
services.pcscd.enable = true; # enable support for smart cards
2023-12-15 17:49:12 +00:00
environment.systemPackages = with pkgs; [ pcsclite ]
# Yubico authentictor app for managing accounts
++ (lib.optionals settings.hardware.yubikey.authenticator [ yubioath-flutter ])
# ykman CLI and Qt-GUI
++ (lib.optionals settings.hardware.yubikey.ykman [
yubikey-manager # CLI tool for ykman
yubikey-manager-qt # GUI tool for ykman
]);
}