diff options
Diffstat (limited to 'host/Rory-nginx')
-rw-r--r-- | host/Rory-nginx/services/cgit.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/Rory-nginx/services/cgit.nix b/host/Rory-nginx/services/cgit.nix index cfe1a27..558bf40 100644 --- a/host/Rory-nginx/services/cgit.nix +++ b/host/Rory-nginx/services/cgit.nix @@ -40,14 +40,14 @@ let base_cgit_config = { }; in { services.cgit."main" = base_cgit_config; - services.cgit."ocp" = base_cgit_config // { + services.cgit."ocp" = lib.attrsets.recursiveUpdate base_cgit_config { scanPath = "/data/nginx/html_git/.ocp"; nginx.location = "/.ocp/"; nginx.virtualHost = "cgit.rory.gay"; settings.clone-url = (lib.concatStringsSep " " [ "https://git.rory.gay/.ocp/$CGIT_REPO_URL" "ssh://<user>@git.rory.gay:.ocp/$CGIT_REPO_URL" - ]); + ]); }; } |