about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-08-05 17:48:48 -0700
committerFranck Cuny <franck@fcuny.net>2024-08-05 17:48:48 -0700
commit78d796619ce85dc281bb70918378067883f39171 (patch)
tree070bc7f7a75df06cb8f3366ebad950e58fa7b040 /nix
parentadditional settings (diff)
downloadworld-78d796619ce85dc281bb70918378067883f39171.tar.gz
store gitolite data on /srv
Diffstat (limited to 'nix')
-rw-r--r--nix/hosts/wildcat/configuration.nix6
1 files 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";