From 18847c6f02f896f1c08ceb0fcbbfc1177085cda3 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 8 Oct 2023 21:35:05 +0200 Subject: ocp in cgit --- host/Rory-nginx/services/cgit.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'host/Rory-nginx/services/cgit.nix') 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://@git.rory.gay:.ocp/$CGIT_REPO_URL" + ]); + }; +}; + + } -- cgit 1.4.1