fix: resolve parsing error
This commit is contained in:
parent
628ec321c0
commit
f30ba6a566
|
@ -73,7 +73,7 @@
|
||||||
database.user = forgejo.user;
|
database.user = forgejo.user;
|
||||||
|
|
||||||
settings.server = {
|
settings.server = {
|
||||||
DOMAIN = lib.optionalString !(builtins.isNull cfg.subdomain) "${cfg.subdomain}."
|
DOMAIN = lib.optionalString (!(builtins.isNull cfg.subdomain)) "${cfg.subdomain}."
|
||||||
+ config.aether.domain;
|
+ config.aether.domain;
|
||||||
ROOT_URL = "https://${srv.DOMAIN}/";
|
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||||
};
|
};
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
systemd.tmpfiles.rules =
|
systemd.tmpfiles.rules =
|
||||||
lib.optional
|
lib.optional
|
||||||
!(builtins.isNull cfg.templates)
|
(!(builtins.isNull cfg.templates))
|
||||||
"L+ ${cfg.stateDir}/custom/templates - - - - ${cfg.templates}";
|
"L+ ${cfg.stateDir}/custom/templates - - - - ${cfg.templates}";
|
||||||
}
|
}
|
||||||
// lib.mkIf cfg.createUser {
|
// lib.mkIf cfg.createUser {
|
||||||
|
|
Loading…
Reference in a new issue