From fbb96a051536041df48ec59653a077671c81ede2 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Mon, 14 Oct 2024 01:02:54 -0700 Subject: More nipsy cgit --- hosts/arrakis/services.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'hosts/arrakis/services.nix') diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index c796bfa..9a5c214 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -1,5 +1,7 @@ { pkgs, ... }: { + programs.git.config.safe.directory = "*"; + security.acme = { acceptTerms = true; defaults.email = "nipsy@bitgnome.net"; @@ -13,14 +15,22 @@ scanPath = "/data/home/nipsy/www/git"; settings = { about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh"; + branch-sort = "age"; css = "/nipsy/git/cgit.css"; + enable-commit-graph = true; enable-follow-links = true; enable-git-config = true; enable-index-links = true; - enable-index-owner = false; + enable-log-filecount = true; + enable-log-linecount = true; logo = "/nipsy/git/cgit.png"; + max-stats = "quarter"; + mimetype-file = "${pkgs.mailcap}/etc/mime.types"; readme = ":README.md"; + readme = ":readme.md"; remove-suffix = 1; + root-desc= "Dune. Desert planet."; + root-title = "Spice Factory"; snapshots = "all"; source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; }; -- cgit v1.2.3