diff options
author | Franck Cuny <franck@fcuny.net> | 2024-08-05 17:48:48 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-08-05 17:48:48 -0700 |
commit | 78d796619ce85dc281bb70918378067883f39171 (patch) | |
tree | 070bc7f7a75df06cb8f3366ebad950e58fa7b040 /nix/hosts/wildcat | |
parent | additional settings (diff) | |
download | world-78d796619ce85dc281bb70918378067883f39171.tar.gz |
store gitolite data on /srv
Diffstat (limited to 'nix/hosts/wildcat')
-rw-r--r-- | nix/hosts/wildcat/configuration.nix | 6 |
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"; |