From f33629ff09ff4e9b9bb5bd598d6b67364ccd08d6 Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 27 May 2025 00:23:21 +0000 Subject: Fix server --- host/Rory-ovh/services/cgit.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'host') diff --git a/host/Rory-ovh/services/cgit.nix b/host/Rory-ovh/services/cgit.nix index dad6f3f..cbdc350 100644 --- a/host/Rory-ovh/services/cgit.nix +++ b/host/Rory-ovh/services/cgit.nix @@ -1,19 +1,20 @@ { pkgs, lib, cgit-magenta, ... }: let + pkg = cgit-magenta.packages.${pkgs.stdenv.hostPlatform.system}.default; base_cgit_config = { enable = true; nginx.virtualHost = "cgit.rory.gay"; #package = pkgs.cgit-pink; - package = cgit-magenta.packages.${pkgs.stdenv.hostPlatform.system}.default; + package = pkg; scanPath = "/data/git"; settings = { css = "/cgit.css"; logo = "/cgit.png"; favicon = "/favicon.ico"; readme = ":README.MD"; - about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh"; - source-filter = "${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py"; + about-filter = "${pkg}/lib/cgit/filters/about-formatting.sh"; + source-filter = "${pkg}/lib/cgit/filters/syntax-highlighting.py"; clone-url = ( lib.concatStringsSep " " [ "https://cgit.rory.gay/$CGIT_REPO_URL" -- cgit 1.5.1