diff options
Diffstat (limited to 'modules/pc/hardware/yubikey.nix')
| -rw-r--r-- | modules/pc/hardware/yubikey.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/pc/hardware/yubikey.nix b/modules/pc/hardware/yubikey.nix new file mode 100644 index 0000000..6bd4a5c --- /dev/null +++ b/modules/pc/hardware/yubikey.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + hardware.gpgSmartcards.enable = true; + + services = { + pcscd.enable = true; + udev.packages = [ pkgs.yubikey-personalization ]; + }; + + environment.systemPackages = with pkgs; [ + yubikey-manager + yubikey-manager-qt + yubikey-personalization + yubikey-personalization-gui + yubico-piv-tool + yubioath-flutter + ]; +} |