33 lines
734 B
Nix
33 lines
734 B
Nix
{ ... }: {
|
|
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";
|
|
};
|
|
"veltko.de" = {
|
|
user = "weckyy702";
|
|
port = 47213;
|
|
};
|
|
"duke.veltnet" = {
|
|
user = "konstantin";
|
|
};
|
|
#TODO: beastie
|
|
};
|
|
};
|
|
services.ssh-agent = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
}
|