NixOS-Config/nixos/server/acme.nix
2024-08-24 22:16:51 -04:00

15 lines
305 B
Nix

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