diff options
Diffstat (limited to 'configuration.nix')
| -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 = { |
