From 3213326fae17d96ae9276a489efc9261383c34af Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 16 Dec 2022 13:28:24 -0800 Subject: [PATCH] attempted to auto-unlock kdewallet --- hosts/home.nix | 5 ----- modules/plasma_desktop.nix | 11 ++++++++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/home.nix b/hosts/home.nix index 909f82e..5da72db 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -62,11 +62,6 @@ in libsForQt5.kate # kate/kwrite libsForQt5.ark # kde archive manager - # KWallet - libsForQt5.kwallet - libsForQt5.kwallet-pam - libsForQt5.kwalletmanager - # Kdenlive and deps libsForQt5.kdenlive mediainfo diff --git a/modules/plasma_desktop.nix b/modules/plasma_desktop.nix index 186e375..19c8ad6 100644 --- a/modules/plasma_desktop.nix +++ b/modules/plasma_desktop.nix @@ -3,9 +3,14 @@ { networking.networkmanager.enable = true; - security.pam.services = { - lightdm.enableKwallet = true; - }; + security.pam.services.nixolas.enableKwallet = true; + + environment.systemPackages = with pkgs; [ + # KWallet + pkgs.libsForQt5.kwallet + pkgs.libsForQt5.kwallet-pam + pkgs.libsForQt5.kwalletmanager + ]; services.xserver = { enable = true;