From cc8fb206e609bb5ab58dd0d95409bcc37d392e3a Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Tue, 24 Mar 2026 18:28:46 -0500 Subject: [PATCH] syntax error --- modules/element-calling.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/element-calling.nix b/modules/element-calling.nix index 7c82754..af2b34a 100755 --- a/modules/element-calling.nix +++ b/modules/element-calling.nix @@ -1,17 +1,18 @@ { config, pkgs, lib, ... }: let - personalization = - if config.sovran_systemsOS.features.element-calling - then import ./personalization.nix - else {}; + personalization = import ./personalization.nix; in - { systemd.tmpfiles.rules = lib.mkIf config.sovran_systemsOS.features.element-calling [ "d /var/lib/domains/element-calling 0750 caddy php -" ]; + services.element-call = lib.mkIf config.sovran_systemsOS.features.element-calling { + server_name = personalization.matrix_url or null; + }; +} + ####### CADDY CONFIGS ####### "${personalization.matrix_url}" = lib.mkForce { extraConfig = ''