summary refs log tree commit diff stats
path: root/modules/nixos/vhack/git-server/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/vhack/git-server/default.nix')
-rw-r--r--modules/nixos/vhack/git-server/default.nix12
1 files 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;
+          };
+        };
       };
     };
   };