hosts/plover: enable DH params generation

This is for certain applications as we'll see.
This commit is contained in:
Gabriel Arazas 2023-06-30 10:46:43 +08:00
parent 53f7cf6e83
commit 831022bf22
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -126,6 +126,10 @@ in
credentialsFile = config.sops.secrets."plover/lego/env".path;
};
# Enable generating new DH params.
security.dhparams.enable = true;
# !!! The keys should be rotated at an interval here.
services.openssh.hostKeys = [{
path = config.sops.secrets."plover/ssh-key".path;
type = "ed25519";