diff options
-rw-r--r-- | host/Rory-nginx/services/cgit.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/cgit.nix b/host/Rory-nginx/services/cgit.nix index 38a12c3..df5e8e4 100644 --- a/host/Rory-nginx/services/cgit.nix +++ b/host/Rory-nginx/services/cgit.nix @@ -41,5 +41,17 @@ }; }; +services.cgit."ocp" = config.services.cgit."main" ++ { + scanPath = "/data/nginx/html_git/.ocp"; + nginx.location = "/.ocp/"; + settings = { + clone-url = (lib.concatStringsSep " " [ + "https://git.rory.gay/.ocp/$CGIT_REPO_URL" + "ssh://<user>@git.rory.gay:.ocp/$CGIT_REPO_URL" + ]); + }; +}; + + } |