diff --git a/modules/home/yubikey.nix b/modules/home/yubikey.nix deleted file mode 100644 index 8908c68..0000000 --- a/modules/home/yubikey.nix +++ /dev/null @@ -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 - ]; -}