about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorPhilip Potter <philip.g.potter@gmail.com>2019-11-07 22:13:18 +0000
committerGitHub <noreply@github.com>2019-11-07 22:13:18 +0000
commitce7d4e40f02cc73d25fac74587eea7860a5a5d15 (patch)
tree72cea4c4815be32561258dcc1cf215b1e7cb7719 /nixos/modules
parent730b739ec669772c66331b339a187d46e7aedf4a (diff)
downloadnixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar.gz
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar.bz2
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar.lz
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar.xz
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.tar.zst
nixlib-ce7d4e40f02cc73d25fac74587eea7860a5a5d15.zip
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.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/programs/ssh.nix2
1 files changed, 1 insertions, 1 deletions
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";