From 2dca1fb2544f69bdb4bb4df29f0b1e7c66953eca Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 29 Aug 2025 23:24:46 +0200 Subject: [PATCH] chore(gnupg): remove duplicate code --- modules/home-manager/application/gnupg/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/home-manager/application/gnupg/default.nix b/modules/home-manager/application/gnupg/default.nix index 53a24f1..62a2aab 100644 --- a/modules/home-manager/application/gnupg/default.nix +++ b/modules/home-manager/application/gnupg/default.nix @@ -46,12 +46,6 @@ in noAllowExternalCache = true; }; - home.sessionVariablesExtra = lib.mkIf cfg.enableSshSupport '' - if [[ -z "''${SSH_AUTH_SOCK}" ]]; then - export SSH_AUTH_SOCK="$(${config.programs.gpg.package}/bin/gpgconf --list-dirs agent-ssh-socket)" - fi - ''; - services.ssh-agent.enable = if cfg.enableSshSupport then false else true; programs.password-store = { enable = cfg.pass;