WIP - ssh
This commit is contained in:
parent
e63b6d8914
commit
47575b0d26
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