mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07: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];
|
++ [gnomeCsAdjuster];
|
||||||
|
|
||||||
# Enable keyring support for KDE apps in GNOME.
|
# 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.
|
# Enable GNOME and GDM.
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.alyraffauf.desktop.greetd.enable {
|
config = lib.mkIf config.alyraffauf.desktop.greetd.enable {
|
||||||
security.pam.services = {
|
security.pam.services.greetd = {
|
||||||
greetd.enableKwallet = lib.mkDefault true;
|
enableGnomeKeyring = true;
|
||||||
greetd.enableGnomeKeyring = lib.mkDefault true;
|
gnupg.enable = true;
|
||||||
|
kwallet.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
greetd = {
|
greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.alyraffauf.desktop.lightdm.enable {
|
config = lib.mkIf config.alyraffauf.desktop.lightdm.enable {
|
||||||
security.pam.services.lightdm = {
|
security.pam.services.lightdm = {
|
||||||
enableGnomeKeyring = true;
|
enableGnomeKeyring = true;
|
||||||
enableKwallet = true;
|
gnupg.enable = true;
|
||||||
|
kwallet.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.displayManager.lightdm = {
|
services.xserver.displayManager.lightdm = {
|
||||||
|
|
|
@ -28,7 +28,13 @@ in {
|
||||||
++ [plasmaCsAdjuster];
|
++ [plasmaCsAdjuster];
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
security.pam.services.sddm.enableGnomeKeyring = true;
|
|
||||||
|
security.pam.services.sddm = {
|
||||||
|
enableGnomeKeyring = true;
|
||||||
|
gnupg.enable = true;
|
||||||
|
kwallet.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
displayManager.sddm = {
|
displayManager.sddm = {
|
||||||
|
|
Loading…
Reference in a new issue