gnupg agent module: fix ssh agent assertion logic

Changed files
+1 -1
nixos
modules
programs
+1 -1
nixos/modules/programs/gnupg.nix
···
'');
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!";
}
];