diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 17:21:06 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-13 22:40:42 +0200 |
commit | 1b30ea9f5cdedcd04ed01c2a2e40ed2a709c05e8 (patch) | |
tree | 171a5e16d214e000440b66fb9ce8481e73c376db /modules | |
parent | feat(nixos/git-server): Add nice gitolite features (diff) | |
download | nixos-server-1b30ea9f5cdedcd04ed01c2a2e40ed2a709c05e8.tar.gz nixos-server-1b30ea9f5cdedcd04ed01c2a2e40ed2a709c05e8.zip |
fix(nixos/git-server): Correctly specify cgit's css path
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/vhack/git-server/default.nix | 12 |
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; + }; + }; }; }; }; |