summaryrefslogtreecommitdiff
path: root/hosts/kay/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-10 07:12:00 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-10 07:12:00 +0530
commite3dfb27a38de7231c2fd9addc8a7b2f8c3a0409e (patch)
tree363661c89d85cc02e15b592edc1fee8c26ff2fd4 /hosts/kay/modules
parent2224c03b0b962599742b280a467266543c7652f8 (diff)
kay/cgit: update ui options
Diffstat (limited to 'hosts/kay/modules')
-rw-r--r--hosts/kay/modules/cgit.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/kay/modules/cgit.nix b/hosts/kay/modules/cgit.nix
index e4bed68..f66a89d 100644
--- a/hosts/kay/modules/cgit.nix
+++ b/hosts/kay/modules/cgit.nix
@@ -5,6 +5,7 @@ let
user = config.userdata.user;
in
{
+ environment.systemPackages = with pkgs; [ luajitPackages.luaossl lua52Packages.luaossl ];
services = {
nginx.virtualHosts."git.${domain}" = {
forceSSL = true;
@@ -18,10 +19,16 @@ in
project-list = "/var/lib/git/project.list";
remove-suffix = 1;
enable-commit-graph = 1;
- root-title = "${user}'s git server";
+ root-title = "${user}'s git repository";
root-desc = "how do i learn github anon";
source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py";
+ about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh";
+ readme = ":README.md";
+ footer = "";
+ enable-blame = 1;
clone-url = "https://git.${domain}/$CGIT_REPO_URL";
+ enable-log-filecount = 1;
+ enable-log-linecount = 1;
};
};
};