global/security: don't generate RSA host keys

This commit is contained in:
Infinidoge 2024-03-20 17:14:18 -04:00
parent 8a7b71bcb7
commit e5eee00ec1
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -39,20 +39,10 @@ with lib;
enable = true;
openFirewall = mkDefault true;
settings.X11Forwarding = mkDefault false;
hostKeys = mkDefault [
{
bits = 4096;
openSSHFormat = true;
path = "/etc/ssh/ssh_host_rsa_key";
rounds = 100;
type = "rsa";
}
{
hostKeys = mkDefault [{
path = "/etc/ssh/ssh_host_ed25519_key";
rounds = 100;
type = "ed25519";
}
];
}];
};
services.nginx = {