Fix ordering of ssh config file
This commit is contained in:
parent
26382d8d20
commit
ba33f5f6cb
|
@ -7,9 +7,6 @@
|
|||
serverAliveCountMax = 3;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "1s";
|
||||
matchBlocks = {
|
||||
"git.*".user = "git";
|
||||
"xenia.me.uk" = { user = "git"; port = 2222; };
|
||||
};
|
||||
matchBlocks = { "git.*".user = "git"; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
imports = [ ./common.nix ];
|
||||
programs.ssh.matchBlocks = {
|
||||
"vanguard" = { user = "xenia"; };
|
||||
"git.xenia.me.uk" = { user = "git"; };
|
||||
"git.xenia.me.uk" = lib.hm.dag.entryBefore [ "git.*" ] { user = "gitea"; };
|
||||
"vanguard *xenia.me.uk" = lib.hm.dag.entryAfter [ "vanguard" ] {
|
||||
hostname = "192.168.1.166"; port = 2222;
|
||||
hostname = "192.168.1.166";
|
||||
port = 2222;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue