aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-14 01:02:54 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-14 01:02:54 -0700
commitfbb96a051536041df48ec59653a077671c81ede2 (patch)
tree30aae69f5da6614408d2a6b1bbb73f32e7066bd0 /hosts
parent1f9cee0ec3a4825f104e3f7cb32079fe7c0db45f (diff)
downloadnix-fbb96a051536041df48ec59653a077671c81ede2.tar
nix-fbb96a051536041df48ec59653a077671c81ede2.tar.gz
nix-fbb96a051536041df48ec59653a077671c81ede2.tar.bz2
nix-fbb96a051536041df48ec59653a077671c81ede2.tar.lz
nix-fbb96a051536041df48ec59653a077671c81ede2.tar.xz
nix-fbb96a051536041df48ec59653a077671c81ede2.tar.zst
nix-fbb96a051536041df48ec59653a077671c81ede2.zip
More nipsy cgit
Diffstat (limited to 'hosts')
-rw-r--r--hosts/arrakis/services.nix12
1 files changed, 11 insertions, 1 deletions
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";
};