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;