nixos/home/ssh/personal.nix

12 lines
319 B
Nix

{lib, ...}: {
imports = [./common.nix];
programs.ssh.matchBlocks = {
"vanguard" = {user = "xenia";};
"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;
};
};
}