Fix ordering of ssh config file
This commit is contained in:
parent
26382d8d20
commit
ba33f5f6cb
|
@ -7,9 +7,6 @@
|
||||||
serverAliveCountMax = 3;
|
serverAliveCountMax = 3;
|
||||||
controlMaster = "auto";
|
controlMaster = "auto";
|
||||||
controlPersist = "1s";
|
controlPersist = "1s";
|
||||||
matchBlocks = {
|
matchBlocks = { "git.*".user = "git"; };
|
||||||
"git.*".user = "git";
|
|
||||||
"xenia.me.uk" = { user = "git"; port = 2222; };
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,10 @@
|
||||||
imports = [ ./common.nix ];
|
imports = [ ./common.nix ];
|
||||||
programs.ssh.matchBlocks = {
|
programs.ssh.matchBlocks = {
|
||||||
"vanguard" = { user = "xenia"; };
|
"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" ] {
|
"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