mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
nixos: gnupg, kwallet, and gnomekeyring unlocking for sddm, lightdm, greetd, and gdm
This commit is contained in:
parent
47291b661b
commit
e3045cd378
|
@ -38,7 +38,11 @@ in {
|
|||
++ [gnomeCsAdjuster];
|
||||
|
||||
# Enable keyring support for KDE apps in GNOME.
|
||||
security.pam.services.gdm.enableKwallet = true;
|
||||
security.pam.services.gfm = {
|
||||
enableGnomeKeyring = true;
|
||||
gnupg.enable = true;
|
||||
kwallet.enable = true;
|
||||
};
|
||||
|
||||
# Enable GNOME and GDM.
|
||||
services = {
|
||||
|
|
|
@ -5,10 +5,12 @@
|
|||
...
|
||||
}: {
|
||||
config = lib.mkIf config.alyraffauf.desktop.greetd.enable {
|
||||
security.pam.services = {
|
||||
greetd.enableKwallet = lib.mkDefault true;
|
||||
greetd.enableGnomeKeyring = lib.mkDefault true;
|
||||
security.pam.services.greetd = {
|
||||
enableGnomeKeyring = true;
|
||||
gnupg.enable = true;
|
||||
kwallet.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
greetd = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.alyraffauf.desktop.lightdm.enable {
|
||||
security.pam.services.lightdm = {
|
||||
enableGnomeKeyring = true;
|
||||
enableKwallet = true;
|
||||
gnupg.enable = true;
|
||||
kwallet.enable = true;
|
||||
};
|
||||
|
||||
services.xserver.displayManager.lightdm = {
|
||||
|
|
|
@ -28,7 +28,13 @@ in {
|
|||
++ [plasmaCsAdjuster];
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
security.pam.services.sddm.enableGnomeKeyring = true;
|
||||
|
||||
security.pam.services.sddm = {
|
||||
enableGnomeKeyring = true;
|
||||
gnupg.enable = true;
|
||||
kwallet.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
desktopManager.plasma6.enable = true;
|
||||
displayManager.sddm = {
|
||||
|
|
Loading…
Reference in a new issue