1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

yubikey.nix small fix

This commit is contained in:
xnm
2024-02-06 22:50:23 +02:00
parent cdb53c16e7
commit 0b97a6b1d4

View File

@@ -8,6 +8,7 @@
enableSSHSupport = true; enableSSHSupport = true;
}; };
# FIXME Don't forget to create an authorization mapping file for your user (https://nixos.wiki/wiki/Yubikey#pam_u2f)
security.pam.u2f = { security.pam.u2f = {
enable = true; enable = true;
cue = true; cue = true;
@@ -19,9 +20,4 @@
sudo.u2fAuth = true; sudo.u2fAuth = true;
swaylock.u2fAuth = true; swaylock.u2fAuth = true;
}; };
# FIXME Don't forget to create an authorization mapping file for your user (https://nixos.wiki/wiki/Yubikey#pam_u2f)
environment.systemPackages = with pkgs; [
pam_u2f
];
} }