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

13 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";
};
};
};
}