feat(ssh): Configure ssh
This commit is contained in:
parent
d77735ec8e
commit
0d621743cd
1 changed files with 22 additions and 0 deletions
22
home/programs/ssh.nix
Normal file
22
home/programs/ssh.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue