nixos/home/ssh/personal.nix

13 lines
331 B
Nix
Raw Normal View History

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