9 lines
No EOL
213 B
Nix
Executable file
9 lines
No EOL
213 B
Nix
Executable file
{ config, ... }:
|
|
|
|
{
|
|
# enable yubikey u2f for use with pam
|
|
security.pam.services = {
|
|
sudo.u2fAuth = true;
|
|
polkit-1.u2fAuth = if config.services.desktopManager.plasma6.enable then true else false;
|
|
};
|
|
} |