revert(gitea): Nix deprecations x2

ldap
Inex Code 2023-03-20 18:39:41 +03:00
parent eb36e9b265
commit 7e590ae60c
1 changed files with 12 additions and 12 deletions

View File

@ -13,10 +13,10 @@ in
gitea = {
enable = cfg.gitea.enable;
stateDir = "/var/lib/gitea";
log = {
rootPath = "/var/lib/gitea/log";
level = "Warn";
};
# log = {
# rootPath = "/var/lib/gitea/log";
# level = "Warn";
# };
user = "gitea";
database = {
type = "sqlite3";
@ -40,7 +40,7 @@ in
rootUrl = "https://git.${cfg.domain}/";
httpAddress = "0.0.0.0";
httpPort = 3000;
cookieSecure = true;
# cookieSecure = true;
settings = {
mailer = {
ENABLED = false;
@ -58,13 +58,13 @@ in
repository = {
FORCE_PRIVATE = false;
};
# session = {
# COOKIE_SECURE = true;
# };
# log = {
# ROOT_PATH = "/var/lib/gitea/log";
# LEVEL = "Warn";
# };
session = {
COOKIE_SECURE = true;
};
log = {
ROOT_PATH = "/var/lib/gitea/log";
LEVEL = "Warn";
};
};
};
};