ark/users/modules/ssh/default.nix

20 lines
460 B
Nix

{nixosConfig, ...}: {
programs.ssh = {
enable = true;
compression = true;
hashKnownHosts = true;
addKeysToAgent = "yes";
package = nixosConfig.programs.ssh.package;
# Only needed for darcs hub
# extraConfig = ''
# Host hub.darcs.net
# ControlMaster no
# ForwardAgent no
# ForwardX11 no
# Ciphers +aes256-cbc
# MACs +hmac-sha1
# '';
};
services.ssh-agent.enable = true;
}