14 lines
297 B
Nix
14 lines
297 B
Nix
{ ... }:
|
|
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
addKeysToAgent = "yes";
|
|
compression = false;
|
|
controlMaster = "auto";
|
|
controlPath = "\${XDG_RUNTIME_DIR}/ssh_control:%h:%p:%r";
|
|
controlPersist = "15m";
|
|
extraConfig = ''
|
|
PreferredAuthentications publickey
|
|
'';
|
|
};
|
|
}
|