diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-08-06 13:57:25 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-08-06 13:57:25 -0600 |
| commit | 6ddf84ec76f32d4e7f7bfbfbcb2595449055c7ac (patch) | |
| tree | 29aacc63a22f9d04830338c3bddc51d8350c8781 /modules/yubico/sys.nix | |
| parent | 31711962b9ae7985287b98a165a52c40da402f4b (diff) | |
modules/yubico: initialcommit
Diffstat (limited to '')
| -rw-r--r-- | modules/yubico/sys.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/yubico/sys.nix b/modules/yubico/sys.nix new file mode 100644 index 0000000..3cd009f --- /dev/null +++ b/modules/yubico/sys.nix @@ -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]; + }; +} |
