renge/gitea: Migrate to 23.05 options

This commit is contained in:
Simon Bruder 2023-05-30 11:51:53 +02:00
parent f9b6483fd6
commit 4adeba626a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -12,12 +12,10 @@ in
services.gitea = { services.gitea = {
enable = true; enable = true;
rootUrl = "https://git.sbruder.de/";
appName = "sbrudergit"; appName = "sbrudergit";
lfs = { lfs = {
enable = true; enable = true;
}; };
enableUnixSocket = true;
database.type = "postgres"; database.type = "postgres";
mailerPasswordFile = config.sops.secrets.gitea-mail.path; mailerPasswordFile = config.sops.secrets.gitea-mail.path;
settings = { settings = {
@ -31,6 +29,11 @@ in
DISABLE_GRAVATAR = true; DISABLE_GRAVATAR = true;
}; };
server = { server = {
# http server
DOMAIN = "git.sbruder.de";
PROTOCOL = "http+unix";
ROOT_URL = "https://git.sbruder.de/";
# privacy # privacy
DISABLE_ROUTER_LOG = true; DISABLE_ROUTER_LOG = true;
OFFLINE_MODE = true; OFFLINE_MODE = true;