nixos/home/ssh/personal.nix

12 lines
304 B
Nix
Raw Normal View History

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