WIP - ssh

This commit is contained in:
punkfairie 2024-11-13 21:40:22 -08:00
parent d77735ec8e
commit 7c7597fe2d

22
home/programs/ssh.nix Normal file
View file

@ -0,0 +1,22 @@
{ ... }:
{
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;
};
};
};
}