summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-08 21:35:05 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-08 21:35:05 +0200
commit18847c6f02f896f1c08ceb0fcbbfc1177085cda3 (patch)
tree19360d87a5ba1359bcd2716069392e85eeed8063
parentFix ks user (diff)
downloadRory-Open-Architecture-18847c6f02f896f1c08ceb0fcbbfc1177085cda3.tar.xz
ocp in cgit
-rw-r--r--host/Rory-nginx/services/cgit.nix12
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"
+    ]);
+  };
+};
+
+
 }