diff --git a/systems/x86_64-linux/mx/coturn.nix b/systems/x86_64-linux/mx/coturn.nix index fd6b792..45fb964 100644 --- a/systems/x86_64-linux/mx/coturn.nix +++ b/systems/x86_64-linux/mx/coturn.nix @@ -1,12 +1,11 @@ -{ - pkgs, - lib, - config, - ... +{ pkgs +, lib +, config +, ... }: { sops.secrets."coturn/static-auth-secret" = { - sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file + sopsFile = ../../../.secrets/hetzner/coturn.yaml; restartUnits = [ "coturn.service" ]; owner = "turnserver"; }; @@ -36,7 +35,6 @@ # get a certificate security.acme.certs.${config.services.coturn.realm} = { - # insert here the right configuration to obtain a certificate postRun = "systemctl restart coturn.service"; group = "turnserver"; };