!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

208 Members
56 Servers

Load older messages


SenderMessageTime
6 Apr 2026
@shapr:cofree.coffeeshaprThank you!15:18:06
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
14 Apr 2026
@lukas:landgraf.moeLukas joined the room.01:54:27
@mr-qubo:matrix.orgmr-qubo I've tried using wl-copy on wayland, but when I do, it shows up wl-clipboard in Panel's Task Manager. When I click it on the panel it disappears, and only then new contents appear in clipboard. Is it a known issue? 12:30:02
@k900:0upti.meK900I assume this is just wl-copy being stupid12:34:59
@mr-qubo:matrix.orgmr-quboUnfortunately, wl-clipboard is a dependency of neovim. Not sure if ai can force it to use xclip on wayland? (xclip works on wayland perfectly fine)12:45:32
@mr-qubo:matrix.orgmr-qubo * 12:45:46
@mr-qubo:matrix.orgmr-quboHm, unsetting WAYLAND_DISPLAY works.12:49:41
@mr-qubo:matrix.orgmr-qubo Why is kwin-x11 included by default even when services.xserver.enable = false? I've removed it and it seems to be working. Is it needed in some cases? 13:43:53
@k900:0upti.meK900It may be, I'm not entirely sure14:11:22
@k900:0upti.meK900It also shouldn't add basically any extra dependencies you're not already getting via xwayland14:11:38
@mr-qubo:matrix.orgmr-qubo It adds xorg-server as a transitive dependency. 15:06:50

There are no newer messages yet.


Back to Room ListRoom Version: 9