WIP - ssh

This commit is contained in:
punkfairie 2024-11-13 21:40:22 -08:00
parent e63b6d8914
commit 47575b0d26
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;
};
};
};
}