From 78d796619ce85dc281bb70918378067883f39171 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 5 Aug 2024 17:48:48 -0700 Subject: store gitolite data on /srv --- nix/hosts/wildcat/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix index 29a2e38..398c923 100644 --- a/nix/hosts/wildcat/configuration.nix +++ b/nix/hosts/wildcat/configuration.nix @@ -49,8 +49,8 @@ let # don't index or follow robots="noindex, nofollow" - project-list=/var/lib/gitolite/projects.list - scan-path=/srv/git/repos + project-list=/srv/gitolite/projects.list + scan-path=/srv/gitolite/repositories ''; in { @@ -73,7 +73,7 @@ in # branch set to `main'. services.gitolite = { enable = true; - dataDir = "/var/lib/gitolite"; + dataDir = "/srv/gitolite"; adminPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"; user = "git"; group = "git"; -- cgit 1.4.1