ssh: switch type of matchBlocks to listOrDagOf

This switches the type of `matchBlocks` from `loaOf` to `listOrDagOf`.
The former has been deprecated in Nixpkgs. The latter allows
dependencies between entries to be expressed using the DAG functions.
This commit is contained in:
Robert Helgesson 2020-04-13 22:02:08 +02:00
parent 8ad4bd6c1b
commit 022228e0aa
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 26 additions and 11 deletions

View file

@ -16,6 +16,9 @@ Host xyz
RemoteForward /run/user/1000/gnupg/S.gpg-agent.extra /run/user/1000/gnupg/S.gpg-agent
DynamicForward [localhost]:2839
Host ordered
Port 1
Host *
ForwardAgent no
Compression no

View file

@ -12,6 +12,8 @@ with lib;
proxyJump = "jump-host";
};
ordered = hm.dag.entryAfter [ "xyz" ] { port = 1; };
xyz = {
identityFile = "file";
serverAliveInterval = 60;