about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-08-05 17:55:11 -0700
committerFranck Cuny <franck@fcuny.net>2024-08-05 17:55:11 -0700
commitd08b61e3b64078e45f46dcf3a20cb2178e8017fc (patch)
tree78ed507adddc6098c8ba8f25ae9d1e583ca4a89c
parentwe need config (diff)
downloadworld-d08b61e3b64078e45f46dcf3a20cb2178e8017fc.tar.gz
use default path for gitolite
-rw-r--r--nix/hosts/wildcat/configuration.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix
index c55cb31..7593be9 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=/srv/gitolite/projects.list
-    scan-path=/srv/gitolite/repositories
+    project-list=/var/lib/gitolite/projects.list
+    scan-path=/var/lib/gitolite/repositories
   '';
 in
 {
@@ -73,7 +73,6 @@ in
   # branch set to `main'.
   services.gitolite = {
     enable = true;
-    dataDir = "/srv/gitolite";
     adminPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi";
     user = "git";
     group = "git";