nixos/gogs: fix deprecations for 0.13.0
Changed APP_NAME to BRAND_NAME, DB_TYPE to TYPE and PASSWD to PASSWORD.
This commit is contained in:
parent
05f3e180fb
commit
b34a51f5a7
|
@ -6,16 +6,16 @@ let
|
||||||
cfg = config.services.gogs;
|
cfg = config.services.gogs;
|
||||||
opt = options.services.gogs;
|
opt = options.services.gogs;
|
||||||
configFile = pkgs.writeText "app.ini" ''
|
configFile = pkgs.writeText "app.ini" ''
|
||||||
APP_NAME = ${cfg.appName}
|
BRAND_NAME = ${cfg.appName}
|
||||||
RUN_USER = ${cfg.user}
|
RUN_USER = ${cfg.user}
|
||||||
RUN_MODE = prod
|
RUN_MODE = prod
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
DB_TYPE = ${cfg.database.type}
|
TYPE = ${cfg.database.type}
|
||||||
HOST = ${cfg.database.host}:${toString cfg.database.port}
|
HOST = ${cfg.database.host}:${toString cfg.database.port}
|
||||||
NAME = ${cfg.database.name}
|
NAME = ${cfg.database.name}
|
||||||
USER = ${cfg.database.user}
|
USER = ${cfg.database.user}
|
||||||
PASSWD = #dbpass#
|
PASSWORD = #dbpass#
|
||||||
PATH = ${cfg.database.path}
|
PATH = ${cfg.database.path}
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
|
|
Loading…
Reference in a new issue