Unlock KWallet with autologin and LUKS issue

As of 24.1.2026, the default Plasma desktop installation uses Plasma Login Manager instead of SDDM.

KWallet auto-unlock using the LUKS passphrase with Plasma Login Manager (paths and filenames differ from those used by SDDM):

sudo sed -i '0,/^-auth/s/^-auth/-auth       optional    pam_systemd_loadkey.so\n&/' /usr/lib/pam.d/plasmalogin-autologin
sudo mkdir -p /etc/systemd/system/plasmalogin.service.d && \ 
echo -e "[Service]\nKeyringMode=inherit" | sudo tee /etc/systemd/system/plasmalogin.service.d/keyringmode.conf