🔐 Yubikey
Can now log in using yubikey. Moved icons for hyprcursor and added a manifest file.
This commit is contained in:
17
security.nix
Normal file
17
security.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubioath-flutter
|
||||
];
|
||||
|
||||
security.pam.services = {
|
||||
login.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
pcscd.enable = true;
|
||||
udev.packages = with pkgs; [ yubikey-personalization ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user