programs/ssh.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
{ config
, pkgs
, ...
}:
{
programs.ssh = {
enable = true;
matchBlocks = {
"*" = {
serverAliveInterval = 180;
serverAliveCountMax = 3;
identityFile = [ "~/.ssh/id_ed25519" "~/.ssh/upcloud" ];
};
"github.com" = {
user = "git";
hostname = "github.com";
};
};
};
}
|