Refactor configs
Some checks failed
Check flake / build-amd64-linux (push) Failing after 14s

This commit is contained in:
2024-08-11 08:58:31 +01:00
parent 6eed6303f2
commit 1ecceeae9a
29 changed files with 134 additions and 124 deletions

View File

@ -1,9 +1,4 @@
{
config,
lib,
inputs,
...
}:
{ config, lib, self, ... }:
let
cfg = config.modules.services.coturn;
@ -54,13 +49,13 @@ in {
age.secrets = {
"passwords/services/coturn/static-auth-secret" = {
file = "${inputs.secrets}/passwords/services/coturn/static-auth-secret.age";
file = "${self.inputs.secrets}/passwords/services/coturn/static-auth-secret.age";
owner = "turnserver";
group = "turnserver";
};
} // (if cfg.matrixIntegration then {
"passwords/services/coturn/matrix-turn-config.yml" = {
file = "${inputs.secrets}/passwords/services/coturn/matrix-turn-config.yml.age";
file = "${self.inputs.secrets}/passwords/services/coturn/matrix-turn-config.yml.age";
owner = "matrix-synapse";
group = "matrix-synapse";
};