chore(gnupg): remove duplicate code
This commit is contained in:
parent
38267e6530
commit
2dca1fb254
1 changed files with 0 additions and 6 deletions
|
@ -46,12 +46,6 @@ in
|
||||||
noAllowExternalCache = true;
|
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;
|
services.ssh-agent.enable = if cfg.enableSshSupport then false else true;
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = cfg.pass;
|
enable = cfg.pass;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue