2023-05-15 11:12:17 +01:00
|
|
|
{ lib, ... }:
|
2023-05-05 13:29:39 +01:00
|
|
|
{
|
|
|
|
imports = [ ./common.nix ];
|
|
|
|
programs.ssh.matchBlocks = {
|
2023-05-16 12:06:49 +01:00
|
|
|
"vanguard" = { user = "xenia"; };
|
2023-05-16 13:08:57 +01:00
|
|
|
"git.xenia.me.uk" = lib.hm.dag.entryBefore [ "git.*" ] { user = "gitea"; };
|
2023-05-16 12:06:49 +01:00
|
|
|
"vanguard *xenia.me.uk" = lib.hm.dag.entryAfter [ "vanguard" ] {
|
2023-05-16 13:08:57 +01:00
|
|
|
hostname = "192.168.1.166";
|
|
|
|
port = 2222;
|
2023-05-05 13:29:39 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|