marleyos/home/programs/ssh.nix
2024-11-13 21:40:22 -08:00

22 lines
346 B
Nix

{ ... }:
{
programs.ssh = {
enable = true;
extraConfig = {
identityFile = "%r@%h";
};
# Equivalent of ~/.ssh/config
matchBlocks = {
"tty.marleycentre" = {
hostname = "admin.punkfairie.net";
};
"tty.marleynet" = {
hostname = "10.69.69.2";
port = 222;
};
};
};
}