Initial commit of Yubikey configuration
This commit is contained in:
parent
e616d1de41
commit
ccedc38261
25
roles/yubikey.nix
Normal file
25
roles/yubikey.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# NixOps configuration for the hosts using Yubikeys
|
||||||
|
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
services.udev.packages = [
|
||||||
|
pkgs.yubikey-personalization # A library and command line tool to personalize YubiKeys
|
||||||
|
pkgs.libu2f-host # A C library and command-line tool that implements the host-side of the U2F protocol
|
||||||
|
];
|
||||||
|
|
||||||
|
services.pcscd.enable = true; # Enable PCSC-Lite daemon
|
||||||
|
|
||||||
|
# Additional packages used with the Yubikey
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
yubikey-manager # CLI tool for configuring any YubiKey over USB
|
||||||
|
yubikey-manager-qt # Configure any YubiKey over USB interfaces
|
||||||
|
yubikey-personalization # Lib & CLI tool to personalize YubiKeys
|
||||||
|
yubikey-personalization-gui # QT based utility to facilitate Yubikey reconfiguration
|
||||||
|
yubioath-desktop # Yubikey Desktop Authenticator
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue