!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

218 Members
59 Servers

Load older messages


SenderMessageTime
8 Apr 2026
@bmanuel:matrix.org@bmanuel:matrix.org left the room.03:11:20
10 Apr 2026
@elisaado:elisaado.comEli 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:0upti.meK900Those should be configured correctly by default16:32:41
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/desktop-managers/plasma6.nix#L34416:33:22
@elisaado:elisaado.comEli 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:0upti.meK900 It should probably be kde-smartcard 17:00:17
@k900:0upti.meK900 Not kde 17:00:19
@elisaado:elisaado.comEli SaadoI assume you mean kde-smartcard instead of kde-fingerprint17:05:34
@k900:0upti.meK900Yes17:08:27
@k900:0upti.meK900But also maybe it should be added to the module17:08:43
@k900:0upti.meK900Ugh17:08:44
@k900:0upti.meK900PAM is a fuck17:08:46
@k900:0upti.meK900Maybe we can just rip out PAM before anyone else cares17:09:01
@elisaado:elisaado.comEli Saado or provide manual options to setup KDE PAM 21:08:10
@elisaado:elisaado.comEli Saadowait those already exist21:08:18
@elisaado:elisaado.comEli Saadohonestly this works fine21:08:26
@k900:0upti.meK900No PAM is just universally terrible21:09:04
@elisaado:elisaado.comEli Saadoyes21:40:00
@elisaado:elisaado.comEli Saadobut other distros have a more yolo approach to it so their pam files look cleaner xD21:40:27
16 Oct 2022
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.18:01:28
@hexa:lossy.networkhexa joined the room.18:39:40
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:00:26
@samueldr:matrix.orgsamueldr joined the room.20:15:36
@samueldr:matrix.orgsamueldr

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:supersandro.deSandro 🐧 joined the room.20:40:52
17 Oct 2022
@ghadfg:matrix.orgポポロ joined the room.16:49:01
@jcmdln:matrix.orgjcmdln joined the room.18:05:03
18 Oct 2022
@alejandrosame:matrix.orgalejandrosame joined the room.09:01:20
@k900:0upti.meK900https://kde.org/announcements/changelogs/plasma/5/5.26.0-5.26.114:26:09
@k900:0upti.meK900Anyone want to do a PR? If not, I'll do one tomorrow probably14:26:29

Show newer messages


Back to Room ListRoom Version: 9