mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
35 lines
822 B
Nix
35 lines
822 B
Nix
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
matchBlocks = {
|
|
jeeves = {
|
|
hostname = "192.168.90.40";
|
|
user = "richie";
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
port = 629;
|
|
dynamicForwards = [ { port = 9050; } ];
|
|
};
|
|
unlock-jeeves = {
|
|
hostname = "192.168.99.14";
|
|
user = "root";
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
port = 2222;
|
|
};
|
|
bob = {
|
|
hostname = "192.168.90.25";
|
|
user = "richie";
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
port = 262;
|
|
dynamicForwards = [ { port = 9050; } ];
|
|
};
|
|
rhapsody-in-green = {
|
|
hostname = "192.168.90.221";
|
|
user = "richie";
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
port = 922;
|
|
};
|
|
};
|
|
};
|
|
}
|