42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ ... }: {
|
|
|
|
flake.homeModules.nathan-terminal = { config, ... }: {
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
|
|
enableDefaultConfig = false;
|
|
|
|
matchBlocks = {
|
|
|
|
"*" = {
|
|
forwardAgent = false;
|
|
addKeysToAgent = "no";
|
|
compression = false;
|
|
serverAliveInterval = 0;
|
|
serverAliveCountMax = 3;
|
|
hashKnownHosts = false;
|
|
userKnownHostsFile = "~/.ssh/known_hosts";
|
|
controlMaster = "no";
|
|
controlPath = "~/.ssh/master-%r@%n:%p";
|
|
controlPersist = "no";
|
|
};
|
|
|
|
"builder" = {
|
|
hostname = "esotericbytes.com";
|
|
user = "remote-builder";
|
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
|
port = 22;
|
|
};
|
|
|
|
"remote" = {
|
|
hostname = "esotericbytes.com";
|
|
user = "nathan";
|
|
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
|
port = 22;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|