summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nvandoorn.com>2025-04-23 16:05:09 -0700
committerNick Van Doorn <nick@nvandoorn.com>2025-04-23 16:05:09 -0700
commit6e986a6e342b67ee39bd0cb75e5018e244abfb20 (patch)
tree51fea8aed2b45a1859b061a93b838f2e670524b5
parent95642c0d40e06a0e1e4445b1b051292a73afc79f (diff)
Try to set up cgit webuiHEADmaster
This is not quite working yet but I'm getting close
-rw-r--r--configuration.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 3e21261..a37e896 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -237,6 +237,24 @@
};
};
+ services.nginx.enable = true;
+
+ services.cgit.nvandoorn = {
+ enable = true;
+ scanPath = "/srv/git";
+ nginx = {
+ location = "git";
+ virtualHost = "vandoorn-server.local";
+ };
+ settings = {
+ root-title = "nvd-git";
+ root-desc = "Nicholas Van Doorn's personal Git server";
+ source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py";
+ };
+ extraConfig = "enable-http-clone=1";
+ };
+
+
services.tailscale.enable = true;
programs.msmtp = {