🚨 update deprecated config + simplify config by removing double quotes

This commit is contained in:
Laureηt 2023-04-26 20:49:18 +02:00
parent e3d3d9faa8
commit 08d138ca0a
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -9,8 +9,6 @@
services.gitea = { services.gitea = {
enable = true; enable = true;
package = pkgs.forgejo; package = pkgs.forgejo;
domain = "git.fainsin.bzh";
rootUrl = "https://git.fainsin.bzh";
lfs.enable = true; lfs.enable = true;
database = { database = {
type = "postgres"; type = "postgres";
@ -18,20 +16,24 @@
}; };
settings = { settings = {
service = { service = {
"DEFAULT_KEEP_EMAIL_PRIVATE" = true; DEFAULT_KEEP_EMAIL_PRIVATE = true;
"DISABLE_REGISTRATION" = true; DISABLE_REGISTRATION = true;
};
server = {
LANDING_PAGE = "explore";
ROOT_URL = "https://git.fainsin.bzh";
DOMAIN = "git.fainsin.bzh";
}; };
server = { "LANDING_PAGE" = "explore"; };
indexer = { indexer = {
"REPO_INDEXER_ENABLED" = true; REPO_INDEXER_ENABLED = true;
"REPO_INDEXER_PATH" = "indexers/repos.bleve"; REPO_INDEXER_PATH = "indexers/repos.bleve";
"UPDATE_BUFFER_LEN" = 20; UPDATE_BUFFER_LEN = 20;
"MAX_FILE_SIZE" = 1048576; MAX_FILE_SIZE = 1048576;
"REPO_INDEXER_EXCLUDE" = "node_modules/**"; REPO_INDEXER_EXCLUDE = "node_modules/**";
}; };
session = { session = {
"PROVIDER" = "db"; PROVIDER = "db";
"COOKIE_SECURE" = true; COOKIE_SECURE = true;
}; };
}; };
}; };