diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-08 21:35:05 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-08 21:35:05 +0200 |
commit | 18847c6f02f896f1c08ceb0fcbbfc1177085cda3 (patch) | |
tree | 19360d87a5ba1359bcd2716069392e85eeed8063 /host/Rory-nginx/services | |
parent | Fix ks user (diff) | |
download | Rory-Open-Architecture-18847c6f02f896f1c08ceb0fcbbfc1177085cda3.tar.xz |
ocp in cgit
Diffstat (limited to 'host/Rory-nginx/services')
-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" + ]); + }; +}; + + } |