fix: Change Gitea settings due to Nix deprecations

pull/25/head
Inex Code 2023-03-17 14:50:40 +03:00
parent 9c662d9629
commit 497cf28ecc
1 changed files with 7 additions and 5 deletions

View File

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