nixos/home/ssh/default.nix
Evie Litherland-Smith ba9411fb9f Split some expressions out of home/default.nix, clean up
Move git, starship and btm expressions to own files

Move account dir expressions up a level, remove accounts dir

Clean up some unused expressions (like qutebrowser and firefox)
2024-02-04 07:14:04 +00:00

35 lines
724 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 = "xenia";
hostname = "192.168.1.230";
};
"ionos" = {
user = "root";
hostname = "77.68.67.133";
};
"freia" = {
user = "elitherl";
hostname = "freia020.hpc.l";
};
"heimdall" = {
user = "elitherl";
hostname = "heimdall003.jet.uk";
};
};
};
}