From 1b30ea9f5cdedcd04ed01c2a2e40ed2a709c05e8 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 3 Aug 2024 17:21:06 +0200 Subject: fix(nixos/git-server): Correctly specify cgit's css path --- modules/nixos/vhack/git-server/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix index 15a4cb7..fdd81a2 100644 --- a/modules/nixos/vhack/git-server/default.nix +++ b/modules/nixos/vhack/git-server/default.nix @@ -157,7 +157,7 @@ in { # Remove the `.git` suffix from scanned repositories (this must be set _before_ `scan-path`) remove-suffix = true; - css = "${cgitCss}"; + css = "/custom_cgit.css"; # This is a number of path elements to treat as section. # Set this to a big number to ensure all path elements are treated as sections. @@ -175,11 +175,11 @@ in { enableACME = true; forceSSL = true; - # locations = { - # "= /cgit.css" = { - # alias = cgitCss.outPath; - # }; - # }; + locations = { + "= /custom_cgit.css" = { + alias = cgitCss.outPath; + }; + }; }; }; }; -- cgit 1.4.1