summary refs log tree commit diff
path: root/hosts/vps
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vps')
-rw-r--r--hosts/vps/git.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/vps/git.nix b/hosts/vps/git.nix
index e334aeb..d991fda 100644
--- a/hosts/vps/git.nix
+++ b/hosts/vps/git.nix
@@ -54,7 +54,10 @@
                 transport fastcgi {
                   env SCRIPT_FILENAME ${pkgs.cgit}/cgit/cgit.cgi
                   env CGIT_CONFIG ${pkgs.writeText "cgitrc" (pkgs.lib.generators.toKeyValue {} {
-            css = "/cgit/cgit.css";
+            # css = "/cgit/cgit.css";
+            css = pkgs.fetchurl {
+              url = "https://jeremias.stotter.eu/cgi-bin/cgit.cgi/cgit-dark/plain/cgit.css";
+            };
             logo = "/cgit/cgit.png";
             favicon = "/favicon.ico";
             clone-url = pkgs.lib.concatStringsSep " " [
@@ -71,6 +74,7 @@
             source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py";
             logo-link = "/";
             virtual-root = "/cgit";
+            readme=":README.md";
           })}
                 }
               }