39 lines
827 B
Nix
39 lines
827 B
Nix
{...}: {
|
|
programs.ssh = {
|
|
enable = true;
|
|
forwardAgent = true;
|
|
addKeysToAgent = "yes";
|
|
compression = true;
|
|
serverAliveInterval = 15;
|
|
serverAliveCountMax = 3;
|
|
controlMaster = "auto";
|
|
controlPersist = "10s";
|
|
extraConfig = ''
|
|
SetEnv TERM=xterm-256color
|
|
'';
|
|
matchBlocks = {
|
|
"git*".user = "git";
|
|
"legion" = {
|
|
user = "pixelifytica";
|
|
hostname = "192.168.0.205";
|
|
};
|
|
"vanguard" = {
|
|
user = "pixelifytica";
|
|
hostname = "192.168.0.90";
|
|
};
|
|
"ionos" = {
|
|
user = "root";
|
|
hostname = "77.68.67.133";
|
|
};
|
|
"freia" = {
|
|
user = "elitherl";
|
|
hostname = "freia020.hpc.l";
|
|
};
|
|
"heimdall" = {
|
|
user = "elitherl";
|
|
hostname = "heimdall003.jet.uk";
|
|
};
|
|
};
|
|
};
|
|
}
|