renge/gitea: Migrate to 23.05 options

nazuna
Simon Bruder 2023-05-30 11:51:53 +02:00
parent f9b6483fd6
commit 4adeba626a
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 5 additions and 2 deletions

View File

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