genesis
This commit is contained in:
commit
b7f20840cb
40 changed files with 1085 additions and 0 deletions
20
modules/users/coyote/programs/ssh.nix
Normal file
20
modules/users/coyote/programs/ssh.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
flake.modules.homeManager.coyote = {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
settings."*" = {
|
||||
ForwardAgent = false;
|
||||
AddKeysToAgent = "yes"; # no passphrase, silent auto-add
|
||||
Compression = false;
|
||||
ServerAliveInterval = 0;
|
||||
ServerAliveCountMax = 3;
|
||||
HashKnownHosts = false;
|
||||
UserKnownHostsFile = "~/.ssh/known_hosts";
|
||||
ControlMaster = "no";
|
||||
ControlPath = "~/.ssh/master-%r@%n:%p";
|
||||
ControlPersist = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue