feat(ssh): Configure ssh

This commit is contained in:
punkfairie 2024-11-13 21:40:22 -08:00
parent d77735ec8e
commit 0d621743cd
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

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;
};
};
};
}