diff --git a/matrix-module.nix b/matrix-module.nix index 85b6385..fa611a5 100644 --- a/matrix-module.nix +++ b/matrix-module.nix @@ -86,7 +86,7 @@ in { }; }; - config = { + config = mkIf cfg.enable { fudo.secrets.host-secrets."${hostname}".matrixOpenIdConfig = { source-file = openIdConfig; target-file = "/run/matrix/openid.cfg";