Plasma 6 on NixOS is missing /etc/pam.d/kde-fingerprint

On Fedora 40, the KDE Plasma 6 lock screen can unlock with fingerprint. Its pam file /etc/pam.d/kde-fingerprint. However, on NixOS unstable, /etc/pam.d/kde-fingerprint doesn’t exist. I have Plasma 6 and kdePackages.plasma-workspace installed. Is this a missing feature on NixOS? Is there a way of getting the fingerprint login to work (maybe by creating the file /etc/pam.d/kde-fingerprint)?

2 Likes

I set services.fprintd.enable = true; and now the file exists. I’m not going to be using fprintd, I’m going to replace the fprintd pam module with my own fingerprint pam module. But I guess I still have to enable fprintd on NixOS.

1 Like

You can probably just copy nixpkgs/nixos/modules/services/desktop-managers/plasma6.nix at 5d1a8fcb6673545419b4b00e2c0351b5ee662991 · NixOS/nixpkgs · GitHub without the condition

1 Like