From ce7d4e40f02cc73d25fac74587eea7860a5a5d15 Mon Sep 17 00:00:00 2001 From: Philip Potter Date: Thu, 7 Nov 2019 22:13:18 +0000 Subject: [PATCH] ssh-agent: fix syntax problem from #71139 Oops, in #71139 a missing `+` broke things quite badly. Thanks @lzorkin for the report and @mebubo for diagnosing the problem. --- nixos/modules/programs/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index 703975fd06c9..80198990ed11 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -251,7 +251,7 @@ in ExecStart = "${cfg.package}/bin/ssh-agent " + optionalString (cfg.agentTimeout != null) ("-t ${cfg.agentTimeout} ") + - optionalString (cfg.agentPKCS11Whitelist != null) ("-P ${cfg.agentPKCS11Whitelist} ") + optionalString (cfg.agentPKCS11Whitelist != null) ("-P ${cfg.agentPKCS11Whitelist} ") + "-a %t/ssh-agent"; StandardOutput = "null"; Type = "forking";