NixOS-Config/nixos/server/acme.nix

15 lines
306 B
Nix

{
security.acme = let
secrets = import ../modules/secrets.nix;
in {
acceptTerms = true;
defaults.email = secrets.jimEmail;
certs = {
"turn.${secrets.jimDomain}" = {
group = "turnserver";
postRun = "systemctl restart coturn.service";
};
};
};
}