ark/users/modules/ssh/default.nix

20 lines
460 B
Nix
Raw Normal View History

2024-05-28 05:50:33 +03:00
{nixosConfig, ...}: {
2022-08-11 05:44:58 +03:00
programs.ssh = {
enable = true;
compression = true;
hashKnownHosts = true;
2024-05-28 05:49:23 +03:00
addKeysToAgent = "yes";
package = nixosConfig.programs.ssh.package;
2022-08-11 05:44:58 +03:00
# Only needed for darcs hub
# extraConfig = ''
# Host hub.darcs.net
# ControlMaster no
# ForwardAgent no
# ForwardX11 no
# Ciphers +aes256-cbc
# MACs +hmac-sha1
# '';
};
2024-05-28 05:49:23 +03:00
services.ssh-agent.enable = true;
2022-08-11 05:44:58 +03:00
}