2024-08-24 22:16:51 -04:00
|
|
|
{
|
|
|
|
security.acme = let
|
2024-08-24 23:09:23 -04:00
|
|
|
secrets = import ../modules/secrets.nix;
|
2024-08-24 22:16:51 -04:00
|
|
|
in {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults.email = secrets.jimEmail;
|
|
|
|
certs = {
|
|
|
|
"turn.${secrets.jimDomain}" = {
|
|
|
|
group = "turnserver";
|
|
|
|
postRun = "systemctl restart coturn.service";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|