gnupg agent module: fix ssh agent assertion logic

This commit is contained in:
Franz Pletz 2017-07-11 01:24:13 +02:00 committed by Robin Gloster
parent 5b3e403eca
commit 32e7904624
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

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!";
}
];