nixos/home/env/ssh.nix

14 lines
279 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
programs.ssh = {
enable = true;
forwardAgent = true;
serverAliveInterval = 15;
serverAliveCountMax = 3;
controlMaster = "auto";
controlPersist = "1s";
matchBlocks."git.*".user = "git";
};
home.packages = with pkgs; [ sshfs ];
}