From f30ba6a566f50d1a8749b5918621d204429589e2 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 20 Nov 2024 01:14:36 -0500 Subject: [PATCH] fix: resolve parsing error --- modules/forgejo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/forgejo/default.nix b/modules/forgejo/default.nix index 4510bab..e3a0e86 100644 --- a/modules/forgejo/default.nix +++ b/modules/forgejo/default.nix @@ -73,15 +73,15 @@ database.user = forgejo.user; settings.server = { - DOMAIN = lib.optionalString !(builtins.isNull cfg.subdomain) "${cfg.subdomain}." - + config.aether.domain; + DOMAIN = lib.optionalString (!(builtins.isNull cfg.subdomain)) "${cfg.subdomain}." + + config.aether.domain; ROOT_URL = "https://${srv.DOMAIN}/"; }; }; systemd.tmpfiles.rules = lib.optional - !(builtins.isNull cfg.templates) + (!(builtins.isNull cfg.templates)) "L+ ${cfg.stateDir}/custom/templates - - - - ${cfg.templates}"; } // lib.mkIf cfg.createUser {