2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-04-23 14:46:59 +01:00
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
forwardAgent = true;
|
|
|
|
serverAliveInterval = 15;
|
|
|
|
serverAliveCountMax = 3;
|
|
|
|
controlMaster = "auto";
|
2023-07-05 14:42:46 +01:00
|
|
|
controlPersist = "10s";
|
2023-05-26 08:55:48 +01:00
|
|
|
matchBlocks."git*".user = "git";
|
2023-07-05 14:42:46 +01:00
|
|
|
extraConfig = ''
|
|
|
|
AddKeysToAgent=yes
|
|
|
|
'';
|
2023-04-23 14:46:59 +01:00
|
|
|
};
|
|
|
|
}
|