gnupg agent module: fix ssh agent assertion logic
This commit is contained in:
parent
5b3e403eca
commit
32e7904624
@ -92,7 +92,7 @@ in
|
|||||||
'');
|
'');
|
||||||
|
|
||||||
assertions = [
|
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!";
|
message = "You can't use ssh-agent and GnuPG agent with SSH support enabled at the same time!";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user