| 6 Apr 2026 |
shapr | Thank you! | 15:18:06 |
| 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 |
| 14 Apr 2026 |
| Lukas joined the room. | 01:54:27 |
mr-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 | I assume this is just wl-copy being stupid | 12:34:59 |
mr-qubo | Unfortunately, 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 | * | 12:45:46 |
mr-qubo | Hm, unsetting WAYLAND_DISPLAY works. | 12:49:41 |
mr-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 | It may be, I'm not entirely sure | 14:11:22 |
K900 | It also shouldn't add basically any extra dependencies you're not already getting via xwayland | 14:11:38 |
mr-qubo | It adds xorg-server as a transitive dependency. | 15:06:50 |