Gnome: try to fix keyring unlock on login
This commit is contained in:
parent
9fcd36c8e0
commit
d5439b9b01
|
@ -117,6 +117,12 @@ in
|
||||||
|
|
||||||
# Make sure the keyring is properly unlocked at startup.
|
# Make sure the keyring is properly unlocked at startup.
|
||||||
# See https://discourse.nixos.org/t/login-keyring-did-not-get-unlocked-hyprland/40869/8
|
# See https://discourse.nixos.org/t/login-keyring-did-not-get-unlocked-hyprland/40869/8
|
||||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
# Also see https://wiki.archlinux.org/title/GNOME/Keyring
|
||||||
|
security.pam.services = {
|
||||||
|
gdm.enableGnomeKeyring = true;
|
||||||
|
passwd.text = lib.mkAfter ''
|
||||||
|
password optional pam_gnome_keyring.so
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue