feat(coturn): update configuration for secret management
Removed comment clutter and streamlined the configuration for better readability and maintenance. Ensured the sops secrets and ACME certificate handling remain functional.
This commit is contained in:
parent
1e031e2cbe
commit
35988e7888
1 changed files with 5 additions and 7 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue