From a8df404120dd6cab9da13a2802e6a42538b82c34 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 21 Sep 2024 11:40:43 -0700 Subject: a few more tweaks for cgit --- nix/hosts/wildcat/configuration.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix index 6e6cbcb..bc28ae2 100644 --- a/nix/hosts/wildcat/configuration.nix +++ b/nix/hosts/wildcat/configuration.nix @@ -34,8 +34,9 @@ services.cgit.main = { enable = true; - user = "cgit"; - group = "cgit"; + package = pkgs.cgit-pink; + user = "git"; + group = "git"; nginx.virtualHost = "git.fcuny.net"; scanPath = "/var/lib/gitolite/repositories"; settings = { @@ -43,6 +44,7 @@ logo = "/cgit.png"; favicon = "/favicon.ico"; readme = ":README.md"; + project-list = "/var/lib/gitolite/projects.list"; about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh"; source-filter = "${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py"; clone-url = (lib.concatStringsSep " " [ @@ -61,8 +63,8 @@ max-atom-items = 108; max-commit-count = 250; max-repo-count = 500; - snapshots = "tar.xz"; - root-title = "¯\_(ツ)_/¯"; + snapshots = "tar.gz"; + root-title = "¯\\_(ツ)_/¯"; root-desc = "source code of my various projects"; }; }; -- cgit 1.4.1