mirror of https://github.com/wlcx/home.git
fix
This commit is contained in:
parent
665403ee0f
commit
98a3416191
|
@ -3,8 +3,8 @@
|
||||||
home.packages = [ pkgs.ssh-tpm-agent ];
|
home.packages = [ pkgs.ssh-tpm-agent ];
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
SSH_AUTH_SOCK = let
|
SSH_AUTH_SOCK = let
|
||||||
maybeProxy = lib.strings.optionalString config.services.gpg-agent.enableSshSupport "-A $(${config.programs.gpg.package}/bin/gpgconf --list-dirs agent-ssh-socket)";
|
maybeProxy = lib.strings.optionalString config.services.gpg-agent.enableSshSupport " -A $(${config.programs.gpg.package}/bin/gpgconf --list-dirs agent-ssh-socket)";
|
||||||
cmd = "${pkgs.ssh-tpm-agent} --print-socket${maybeProxy}";
|
cmd = "${pkgs.ssh-tpm-agent}/bin/ssh-tpm-agent --print-socket${maybeProxy}";
|
||||||
in "$(${cmd})";
|
in "$(${cmd})";
|
||||||
TESTIFICLES = "hello";
|
TESTIFICLES = "hello";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue