diff options
author | Franck Cuny <franck@fcuny.net> | 2024-09-21 11:40:43 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-09-21 11:40:43 -0700 |
commit | a8df404120dd6cab9da13a2802e6a42538b82c34 (patch) | |
tree | 55b23879258554af001da3bb3f581f35b7cbde4d | |
parent | let's try once again (diff) | |
download | world-a8df404120dd6cab9da13a2802e6a42538b82c34.tar.gz |
a few more tweaks for cgit
-rw-r--r-- | nix/hosts/wildcat/configuration.nix | 10 |
1 files 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"; }; }; |