From 37d852f36d7f5b988536addee7518ba100743de5 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 31 Oct 2019 20:41:31 +0100 Subject: [PATCH] i3: use new gnupg.agent module --- i3.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/i3.nix b/i3.nix index 0a3388d..00e4b32 100644 --- a/i3.nix +++ b/i3.nix @@ -91,7 +91,7 @@ name = "i3wm"; start = '' export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS - export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) + export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export XDG_CURRENT_DESKTOP=X-Generic for m in xsettings; do ${pkgs.gnome3.gnome_settings_daemon}/libexec/gsd-$m & @@ -154,4 +154,9 @@ extraModules = [ pkgs.pulseaudio-modules-bt ]; }; + programs.gnupg = { + agent.enable = true; + agent.pinentryFlavor = "gnome3"; + }; + }