From f5693c7ffff22da3d68a97aa9b8f0e8b22ef0f99 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 8 Oct 2023 22:21:49 +0200 Subject: Fix syntax? --- host/Rory-nginx/services/cgit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') 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://@git.rory.gay:.ocp/$CGIT_REPO_URL" - ]); + ]); }; } -- cgit 1.4.1