22 lines
346 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|