diff options
Diffstat (limited to 'config/yubikey.nix')
-rw-r--r-- | config/yubikey.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/yubikey.nix b/config/yubikey.nix new file mode 100644 index 0000000..78be8db --- /dev/null +++ b/config/yubikey.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: +let + yubikey-pkgs = with pkgs; [ + libusb + libu2f-host + yubikey-personalization + yubikey-manager + ]; +in +{ + services.pcscd.enable = true; + environment.systemPackages = yubikey-pkgs; + services.udev.packages = yubikey-pkgs; +} |