NixOS-Config/modules/system/services/server/acme/default.nix

14 lines
286 B
Nix

{ outputs, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = outputs.secrets.jimEmail;
certs = {
"turn.${outputs.secrets.jimDomain}" = {
group = "turnserver";
postRun = "systemctl restart coturn.service";
};
};
};
}