From 98a3416191bc8391b03b188ce230b6d986d69334 Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Sat, 28 Sep 2024 20:10:46 +0100 Subject: [PATCH] fix --- home/tpmssh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/tpmssh.nix b/home/tpmssh.nix index be01990..203dddc 100644 --- a/home/tpmssh.nix +++ b/home/tpmssh.nix @@ -3,8 +3,8 @@ home.packages = [ pkgs.ssh-tpm-agent ]; home.sessionVariables = { 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)"; - cmd = "${pkgs.ssh-tpm-agent} --print-socket${maybeProxy}"; + 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}/bin/ssh-tpm-agent --print-socket${maybeProxy}"; in "$(${cmd})"; TESTIFICLES = "hello"; };