global/security: don't generate RSA host keys
This commit is contained in:
parent
8a7b71bcb7
commit
e5eee00ec1
1 changed files with 2 additions and 12 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue