!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

220 Members
60 Servers

Load older messages


SenderMessageTime
30 Jul 2024
@thefossguy:matrix.orgPratham Patelanything looking out of the usual? doesn't look problematic to me15:45:56
@thefossguy:matrix.orgPratham Patel

K900sorry for the ping but you know a way out of this maze?

15:50:58
@k900:0upti.meK900 Check the logs for the kwalletpaminit executable also 16:02:14
@thefossguy:matrix.orgPratham Patelhow do I "check" it? do you mean journalctl logs?16:13:11
@thefossguy:matrix.orgPratham Patelnothing in journalctl logs16:14:05
@thefossguy:matrix.orgPratham Patelanyone?16:36:16
@thefossguy:matrix.orgPratham Patel

even a systemctl --user restart plasma-kwallet-pam.service doesn't work :(

16:41:44
@thefossguy:matrix.orgPratham Pateland I've verified that the wallet password is same as my user password by unlocking it via the kdewalletmanager gui app16:42:04
31 Jul 2024
@thefossguy:matrix.orgPratham Patel
  1. auto_start in the nixpkgs pam module doesn't exist for kwallet but does exist for gnome-keyring. My out-of-tree commit fixed the kwallet issue for me (partly): https://github.com/thefossguy/nixpkgs/commit/b6d46491b7cf1bb1072a7ab3d2da49c7782afab2
  2. As for why plasma-kwallet-pam.service doesn't start for me, it's because
Before=plasma-plasmashell.service plasma-kded6.service
After=plasma-kwin_wayland.service plasma-kcminit.service

For (1), force_run is only required if logging in from the TTY and for (2), I don't know how to make it "more generic" (depend less on KDE-specific units and depend on SDDM to tell us). One way is graphical-session.target but that doesn't seem to be active on NixOS? I admit I don't know much about how this specific systemd target interacts with SDDM.

04:37:52
@thefossguy:matrix.orgPratham Patelheh https://github.com/NixOS/nixpkgs/issues/169143#issuecomment-224682554104:48:38
@thefossguy:matrix.orgPratham Patel

drafting an upstream friendly PR, any way to check if any of the display managers in services.xserver.displayManager or services.displayManager are enabled instead of manually checking each and every one of them?

06:35:37
@k900:0upti.meK900 @Sandro 🐧 had a thing for that 06:36:38
@k900:0upti.meK900But also this is wrong06:36:41
@k900:0upti.meK900At least 2) definitely is wrong06:36:48
@k900:0upti.meK900 Because Before and After are not strict dependencies 06:36:57
@k900:0upti.meK900They do not block the service06:37:05
@k900:0upti.meK900 And auto_start is a gnome-keyring PAM module option 06:37:27
@k900:0upti.meK900I don't think kwallet-pam has one06:37:34
@k900:0upti.meK900https://invent.kde.org/plasma/kwallet-pam/-/blob/master/pam_kwallet.c?ref_type=heads#L75-10006:37:55
@k900:0upti.meK900 It does have force_run though 06:37:59
@k900:0upti.meK900https://invent.kde.org/plasma/kwallet-pam/-/blob/master/pam_kwallet.c?ref_type=heads#L222-23806:38:28
@thefossguy:matrix.orgPratham Patelhuh, didn't know auto_start didn't exist06:40:45
@thefossguy:matrix.orgPratham Patelthat plasma-kwallet-pam service is provided by kdePackages.kwallet-pam and that dependency is likely provided by upstream, rather than some nixos module06:42:18
@k900:0upti.meK900There is no dependency06:42:32
@k900:0upti.meK900As I said06:42:33
@k900:0upti.meK900 Before/After determines ordering if the units are already in the transaction 06:42:43
@k900:0upti.meK900It does nothing if they're not06:42:55
@k900:0upti.meK900 Now if it had Requires or Wants, that would be a problem 06:43:07
@k900:0upti.meK900But it does not06:43:09
@thefossguy:matrix.orgPratham Patelah you mean "since they don't exist, that's not a dependency"06:43:27

Show newer messages


Back to Room ListRoom Version: 9