2023-09-15 07:13:52 +01:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
home.packages = with pkgs; [ sshfs ];
|
|
|
|
programs = {
|
|
|
|
ssh = {
|
|
|
|
enable = true;
|
|
|
|
forwardAgent = true;
|
|
|
|
serverAliveInterval = 15;
|
|
|
|
serverAliveCountMax = 3;
|
|
|
|
controlMaster = "auto";
|
|
|
|
controlPersist = "10s";
|
|
|
|
extraConfig = ''
|
|
|
|
AddKeysToAgent=yes
|
|
|
|
SetEnv TERM=xterm-256color
|
|
|
|
'';
|
|
|
|
matchBlocks = {
|
|
|
|
"vanguard" = {
|
|
|
|
user = "xenia";
|
|
|
|
hostname = "192.168.1.166";
|
|
|
|
};
|
|
|
|
"legion" = {
|
|
|
|
user = "xenia";
|
|
|
|
hostname = "192.168.1.230";
|
|
|
|
};
|
|
|
|
"ionos" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "77.68.67.133";
|
|
|
|
};
|
|
|
|
"git*".user = "git";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
keychain = {
|
|
|
|
enable = true;
|
|
|
|
extraFlags = [ "--quiet" "--noask" "--ignore-missing" ];
|
|
|
|
keys = [ "id_rsa" "id_ed25519" ];
|
2023-09-20 09:00:22 +01:00
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
2023-09-15 07:13:52 +01:00
|
|
|
enableXsessionIntegration = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|