mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-25 12:31:27 +00:00
revert(gitea): Nix deprecations x2
This commit is contained in:
parent
eb36e9b265
commit
7e590ae60c
|
@ -13,10 +13,10 @@ in
|
||||||
gitea = {
|
gitea = {
|
||||||
enable = cfg.gitea.enable;
|
enable = cfg.gitea.enable;
|
||||||
stateDir = "/var/lib/gitea";
|
stateDir = "/var/lib/gitea";
|
||||||
log = {
|
# log = {
|
||||||
rootPath = "/var/lib/gitea/log";
|
# rootPath = "/var/lib/gitea/log";
|
||||||
level = "Warn";
|
# level = "Warn";
|
||||||
};
|
# };
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
database = {
|
database = {
|
||||||
type = "sqlite3";
|
type = "sqlite3";
|
||||||
|
@ -40,7 +40,7 @@ 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;
|
# cookieSecure = true;
|
||||||
settings = {
|
settings = {
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = false;
|
ENABLED = false;
|
||||||
|
@ -58,13 +58,13 @@ in
|
||||||
repository = {
|
repository = {
|
||||||
FORCE_PRIVATE = false;
|
FORCE_PRIVATE = false;
|
||||||
};
|
};
|
||||||
# session = {
|
session = {
|
||||||
# COOKIE_SECURE = true;
|
COOKIE_SECURE = true;
|
||||||
# };
|
};
|
||||||
# log = {
|
log = {
|
||||||
# ROOT_PATH = "/var/lib/gitea/log";
|
ROOT_PATH = "/var/lib/gitea/log";
|
||||||
# LEVEL = "Warn";
|
LEVEL = "Warn";
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue