Enable gitea index and lfs. Fix warning.
All checks were successful
Check Flake / check-flake (push) Successful in 4m49s

This commit is contained in:
Zuckerberg 2024-02-04 13:59:39 -07:00
parent 1dfd7bc8a2
commit 03150667b6

View File

@ -13,7 +13,7 @@ in
config = lib.mkIf cfg.enable {
services.gitea = {
appName = cfg.hostname;
# lfs.enable = true;
lfs.enable = true;
# dump.enable = true;
settings = {
server = {
@ -44,6 +44,9 @@ in
actions = {
ENABLED = true;
};
indexer = {
REPO_INDEXER_ENABLED = true;
};
};
mailerPasswordFile = "/run/agenix/robots-email-pw";
};
@ -62,7 +65,7 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:${toString cfg.httpPort}";
proxyPass = "http://localhost:${toString cfg.settings.server.HTTP_PORT}";
};
};
};