fix(coturn): correct attribute names and import configuration
Change 'coturn' to 'services.coturn' and renamed 'hostname' to 'hostName'. Added 'coturn.nix' to the default imports in the main configuration file.
This commit is contained in:
parent
c894294ce3
commit
da780be326
|
@ -4,9 +4,9 @@
|
||||||
sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file
|
sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file
|
||||||
};
|
};
|
||||||
|
|
||||||
coturn = {
|
services.coturn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
realm = config.services.nextcloud.hostname;
|
realm = config.services.nextcloud.hostName;
|
||||||
static-auth-secret-file = config.sops.secrets."coturn/static-auth-secret".path;
|
static-auth-secret-file = config.sops.secrets."coturn/static-auth-secret".path;
|
||||||
use-auth-secret = true;
|
use-auth-secret = true;
|
||||||
lt-cred-mech = true;
|
lt-cred-mech = true;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
|
./coturn.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
metacfg = {
|
metacfg = {
|
||||||
|
|
Loading…
Reference in a new issue