nixos/home/ssh/common.nix

12 lines
236 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
programs.ssh = {
enable = true;
forwardAgent = true;
serverAliveInterval = 15;
serverAliveCountMax = 3;
controlMaster = "auto";
controlPersist = "1s";
2023-05-17 17:10:18 +01:00
matchBlocks = {"git.*".user = "git";};
};
}