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 {