gnupg agent module: fix ssh agent assertion logic

This commit is contained in:
Franz Pletz
2017-08-04 02:07:49 +02:00
committed by Robin Gloster
parent 5b3e403eca
commit 32e7904624
+1 -1
View File
@@ -92,7 +92,7 @@ in
'');
assertions = [
{ assertion = cfg.agent.enableSSHSupport && !config.programs.ssh.startAgent;
{ assertion = cfg.agent.enableSSHSupport -> !config.programs.ssh.startAgent;
message = "You can't use ssh-agent and GnuPG agent with SSH support enabled at the same time!";
}
];