config

NixOS config
Log | Files | Refs | README | LICENSE

commit a89179716fd56e7e6dab286aaa92085824a3f4ce (tree)
parent 58e9bf8e701376a985185056e0fc622c1e7113fa
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Mon, 29 Jun 2026 10:42:59 +0000

move cache closer to the web dir

Diffstat:
Mmodules/services/git/default.nix | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/services/git/default.nix b/modules/services/git/default.nix @@ -7,7 +7,7 @@ }: let cfg = config.mj.services.git; - cacheDir = "/var/lib/git/.stagit-cache"; + cacheDir = "${cfg.wwwDir}/.cache"; styleCSS = "${pkgs.stagit.src}/style.css"; @@ -110,7 +110,6 @@ in systemd.tmpfiles.rules = [ "d ${cfg.wwwDir} 0755 git git -" - "d ${cacheDir} 0755 git git -" ]; environment.systemPackages = [ newRepo ];