kommode/gitea: bindmount repo-archives to /var/cache/gitea
Some checks failed
Eval nix flake / evals (push) Failing after 1m26s
Some checks failed
Eval nix flake / evals (push) Failing after 1m26s
This commit is contained in:
@@ -161,6 +161,11 @@ in {
|
|||||||
|
|
||||||
systemd.services.gitea.serviceConfig.CPUSchedulingPolicy = "batch";
|
systemd.services.gitea.serviceConfig.CPUSchedulingPolicy = "batch";
|
||||||
|
|
||||||
|
systemd.services.gitea.serviceConfig.CacheDirectory = "gitea/repo-archive";
|
||||||
|
systemd.services.gitea.serviceConfig.BindPaths = [
|
||||||
|
"%C/gitea/repo-archive:${cfg.stateDir}/data/repo-archive"
|
||||||
|
];
|
||||||
|
|
||||||
services.nginx.virtualHosts."${domain}" = {
|
services.nginx.virtualHosts."${domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
Reference in New Issue
Block a user