blob: 2129650123d5c74d53ccf5fa5bfd34aa8a9776e2 (
plain) (
tree)
|
|
{ ... }: {
# https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix
programs.ssh = {
enable = true;
forwardAgent = true;
serverAliveInterval = 60;
controlMaster = "auto";
controlPersist = "30m";
matchBlocks = {
"github.com" = {
hostname = "github.com";
user = "git";
forwardAgent = false;
extraOptions = { preferredAuthentications = "publickey"; };
};
"github.rbx.com" = {
hostname = "github.rbx.com";
user = "git";
forwardAgent = false;
extraOptions = { preferredAuthentications = "publickey"; };
};
"git" = {
hostname = "git.fcuny.net";
port = 422;
user = "git";
forwardAgent = false;
extraOptions = { preferredAuthentications = "publickey"; };
};
"home" = {
hostname = "fcuny.net";
port = 422;
user = "fcuny";
extraOptions = { preferredAuthentications = "publickey"; };
};
};
};
}
|