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;
|
enable = true;
|
||||||
openFirewall = mkDefault true;
|
openFirewall = mkDefault true;
|
||||||
settings.X11Forwarding = mkDefault false;
|
settings.X11Forwarding = mkDefault false;
|
||||||
hostKeys = mkDefault [
|
hostKeys = mkDefault [{
|
||||||
{
|
|
||||||
bits = 4096;
|
|
||||||
openSSHFormat = true;
|
|
||||||
path = "/etc/ssh/ssh_host_rsa_key";
|
|
||||||
rounds = 100;
|
|
||||||
type = "rsa";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
rounds = 100;
|
|
||||||
type = "ed25519";
|
type = "ed25519";
|
||||||
}
|
}];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue