diff options
author | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-23 16:05:09 -0700 |
---|---|---|
committer | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-23 16:05:09 -0700 |
commit | 6e986a6e342b67ee39bd0cb75e5018e244abfb20 (patch) | |
tree | 51fea8aed2b45a1859b061a93b838f2e670524b5 | |
parent | 95642c0d40e06a0e1e4445b1b051292a73afc79f (diff) |
This is not quite working yet but I'm getting close
-rw-r--r-- | configuration.nix | 18 |
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 = { |