| 8 Apr 2026 |
| @bmanuel:matrix.org left the room. | 03:11:20 |
| 10 Apr 2026 |
Eli Saado | In kscreenlocker (not PLM/SDDM), when configuring PAM-u2f, the required rules get automatically added to /etc/pam.d/kde-fingerprint and it simply works. However, when the user completes the u2f UV/UIF, kscreenlocker shows an additional "unlock" screen with a single button that says "unlock", which when pressed, unlocks the session.
The fix for this according to the arch wiki (https://wiki.archlinux.org/title/Universal_2nd_Factor, under SDDM/KDE) is to use /etc/pam.d/kde-fingerprint instead of pam.d/kde (or possibly /etc/pam.d/kde-smartcard according to a reddit thread).
Is there a Nix native way of managing the /etc/pam.d/kde-fingerprint file? | 16:29:57 |
K900 | Those should be configured correctly by default | 16:32:41 |
K900 | https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/desktop-managers/plasma6.nix#L344 | 16:33:22 |
Eli Saado | right, but they are only set if fprintd or p11 are enabled, even though u2f can do biometric things without fprintd.
though reading that source did help me find a solution (so thank you <3),
services.kde.u2fAuth = false;
services.kde-fingerprint.u2fAuth = true;
(disabling u2f in the kde service is needed as it has priority over the u2f in the kde-fingerprint service) | 16:56:40 |
K900 | It should probably be kde-smartcard | 17:00:17 |
K900 | Not kde | 17:00:19 |
Eli Saado | I assume you mean kde-smartcard instead of kde-fingerprint | 17:05:34 |
K900 | Yes | 17:08:27 |
K900 | But also maybe it should be added to the module | 17:08:43 |
K900 | Ugh | 17:08:44 |
K900 | PAM is a fuck | 17:08:46 |
K900 | Maybe we can just rip out PAM before anyone else cares | 17:09:01 |
Eli Saado | or provide manual options to setup KDE PAM | 21:08:10 |
Eli Saado | wait those already exist | 21:08:18 |
Eli Saado | honestly this works fine | 21:08:26 |
K900 | No PAM is just universally terrible | 21:09:04 |
Eli Saado | yes | 21:40:00 |
Eli Saado | but other distros have a more yolo approach to it so their pam files look cleaner xD | 21:40:27 |
| 16 Oct 2022 |
| spacesbot - keeps a log of public NixOS channels joined the room. | 18:01:28 |
| hexa joined the room. | 18:39:40 |
| spacesbot - keeps a log of public NixOS channels | 19:00:26 |
| samueldr joined the room. | 20:15:36 |
samueldr | asking here too; I need eyes on https://github.com/NixOS/nixpkgs/pull/196047, do read the linked PR too for more context...
relatively leafy packages, affects only Plasma Mobile Gear, and only two apps | 20:24:37 |
| Sandro 🐧 joined the room. | 20:40:52 |
| 17 Oct 2022 |
| ポポロ joined the room. | 16:49:01 |
| jcmdln joined the room. | 18:05:03 |
| 18 Oct 2022 |
| alejandrosame joined the room. | 09:01:20 |
K900 | https://kde.org/announcements/changelogs/plasma/5/5.26.0-5.26.1 | 14:26:09 |
K900 | Anyone want to do a PR? If not, I'll do one tomorrow probably | 14:26:29 |