summary refs log tree commit diff
path: root/host/Rory-nginx/services
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-08 22:21:49 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-08 22:21:49 +0200
commitf5693c7ffff22da3d68a97aa9b8f0e8b22ef0f99 (patch)
tree84ba34ff67d9b400bea0f9db22a59367e2c5377a /host/Rory-nginx/services
parentFix syntax? (diff)
downloadRory-Open-Architecture-f5693c7ffff22da3d68a97aa9b8f0e8b22ef0f99.tar.xz
Fix syntax?
Diffstat (limited to '')
-rw-r--r--host/Rory-nginx/services/cgit.nix4
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"
-      ]);
+    ]);
   };
 }