mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
chore: move
This commit is contained in:
parent
79ae41b71c
commit
329acdeceb
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
|||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||
|
||||
# FIXME Don't forget to create an authorization mapping file for your user (https://nixos.wiki/wiki/Yubikey#pam_u2f)
|
||||
security.pam = {
|
||||
u2f = {
|
||||
enable = true;
|
||||
cue = true;
|
||||
control = "sufficient";
|
||||
};
|
||||
|
||||
services = {
|
||||
login.u2fAuth = true;
|
||||
greetd.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
hyprlock.u2fAuth = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubikey-manager
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue