From 95a5ee9c37a7c18f585b16559a0c10efb4f5c94c Mon Sep 17 00:00:00 2001 From: xnm Date: Mon, 5 Feb 2024 01:22:26 +0200 Subject: [PATCH] added tips for yubikey configuration --- nixos/yubikey.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/yubikey.nix b/nixos/yubikey.nix index 9ce79e2..d486e37 100644 --- a/nixos/yubikey.nix +++ b/nixos/yubikey.nix @@ -8,6 +8,7 @@ enableSSHSupport = true; }; + # FIXME Don't forget to create an authorization mapping file for your user (https://nixos.wiki/wiki/Yubikey#pam_u2f) security.pam.services = { login.u2fAuth = true; sudo.u2fAuth = true;