24 lines
600 B
Nix
24 lines
600 B
Nix
{ ... }: {
|
|
programs.ssh = {
|
|
enable = true;
|
|
enableDefaultConfig = false;
|
|
settings = {
|
|
"*" = {
|
|
ForwardAgent = false;
|
|
IdentityAgent = "~/.1password/agent.sock";
|
|
SetEnv = {
|
|
TERM = "xterm-256color";
|
|
};
|
|
ServerAliveInterval = 0;
|
|
ServerAliveCountMax = 3;
|
|
Compression = false;
|
|
AddKeysToAgent = "no";
|
|
HashKnownHosts = false;
|
|
UserKnownHostsFile = "~/.ssh/known_hosts";
|
|
ControlMaster = "no";
|
|
ControlPath = "~/.ssh/master-%r@%n:%p";
|
|
ControlPersist = "no";
|
|
};
|
|
};
|
|
};
|
|
}
|