2023-03-09 08:33:38 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2023-03-29 06:58:29 +01:00
|
|
|
services.pcscd.enable = true;
|
2023-03-09 08:33:38 +00:00
|
|
|
services.udev.packages = [ pkgs.yubikey-personalization pkgs.android-udev-rules ];
|
|
|
|
security.pam = {
|
|
|
|
services = {
|
|
|
|
login.u2fAuth = true;
|
|
|
|
doas.u2fAuth = true;
|
|
|
|
};
|
|
|
|
yubico = {
|
|
|
|
enable = true;
|
|
|
|
mode = "challenge-response";
|
|
|
|
control = "optional";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-05-13 21:48:48 +01:00
|
|
|
/* environment.systemPackages = with pkgs; [ */
|
|
|
|
/* yubioath-flutter */
|
|
|
|
/* yubikey-personalization */
|
|
|
|
/* ]; */
|
2023-03-09 08:33:38 +00:00
|
|
|
}
|