modules/yubico: initialcommit

This commit is contained in:
Alejandro Soto 2025-08-06 13:57:25 -06:00
parent 5d375d1d93
commit a8ef8e43b9
No known key found for this signature in database
GPG key ID: A2C4C79764EE8F16
3 changed files with 36 additions and 0 deletions

14
modules/yubico/sys.nix Normal file
View file

@ -0,0 +1,14 @@
{
pkgs,
lib,
...
}: {
environment.etc."pkcs11/modules/ykcs11".text = ''
module: ${pkgs.yubico-piv-tool}/lib/libykcs11.so
'';
services = {
pcscd.enable = true;
udev.packages = [pkgs.yubikey-personalization];
};
}