mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-09-05 18:36:22 +02:00
kommode/gitea: bindmount repo-archives to /var/cache/gitea
This commit is contained in:
parent
54434b7f93
commit
1dc78b6101
@ -161,6 +161,11 @@ in {
|
||||
|
||||
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}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user