From 5a69fa1b199fbeaf5df29fc4520ebae71f16315c Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 13 Oct 2024 19:32:58 -0700 Subject: Add initial nipsy cgit service --- hosts/arrakis/services.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'hosts/arrakis/services.nix') diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 3fa2d3a..0040e44 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -5,6 +5,27 @@ }; services = { + cgit = { + "arrakis.bitgnome.net" = { + enable = true; + nginx.location = "/nipsy/git/"; + repos = { + nix = { + desc = "a NixOS repository"; + path = "/home/nipsy/www/git/nix"; + }; + }; + #settings = { + # about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh"; + # css = "${pkgs.cgit}/share/cgit/cgit.css"; + # enable-follow-links = true; + # logo = "${pkgs.cgit}/share/cgit/cgit.png"; + # remove-suffix = 1; + # source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; + #}; + }; + }; + clamav.updater.enable = true; iperf3.openFirewall = true; -- cgit v1.2.3