summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-27 00:23:21 +0000
committerRory& <root@rory.gay>2025-05-27 00:23:21 +0000
commitf33629ff09ff4e9b9bb5bd598d6b67364ccd08d6 (patch)
tree1c4b77cc6da42fdf89df068018c8383800f28a1f /host
parentOverride cargo deps with empty hash (diff)
downloadRory-Open-Architecture-f33629ff09ff4e9b9bb5bd598d6b67364ccd08d6.tar.xz
Fix server
Diffstat (limited to 'host')
-rw-r--r--host/Rory-ovh/services/cgit.nix7
1 files changed, 4 insertions, 3 deletions
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"