diff --git a/nixos/modules/services/desktop-managers/plasma6.nix b/nixos/modules/services/desktop-managers/plasma6.nix index feaa48c1f0d1..9f13a2eb7c76 100644 --- a/nixos/modules/services/desktop-managers/plasma6.nix +++ b/nixos/modules/services/desktop-managers/plasma6.nix @@ -331,9 +331,16 @@ in # "kde" must not have fingerprint authentication otherwise it can block password login. # See https://github.com/NixOS/nixpkgs/issues/239770 and https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/163. fprintAuth = false; + p11Auth = false; + }; + kde-fingerprint = lib.mkIf config.services.fprintd.enable { + fprintAuth = true; + p11Auth = false; + }; + kde-smartcard = lib.mkIf config.security.pam.p11.enable { + p11Auth = true; + fprintAuth = false; }; - kde-fingerprint = lib.mkIf config.services.fprintd.enable { fprintAuth = true; }; - kde-smartcard = lib.mkIf config.security.pam.p11.enable { p11Auth = true; }; }; security.wrappers = {