aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/services.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-13 19:32:58 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-13 19:32:58 -0700
commit5a69fa1b199fbeaf5df29fc4520ebae71f16315c (patch)
tree19eb737fdf6d4d8b5572a07c31763d5e42d9c6f2 /hosts/arrakis/services.nix
parent37d63fc7b0110c557b4ff18eabfcbf4d799bd57f (diff)
downloadnix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar.gz
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar.bz2
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar.lz
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar.xz
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.tar.zst
nix-5a69fa1b199fbeaf5df29fc4520ebae71f16315c.zip
Add initial nipsy cgit service
Diffstat (limited to 'hosts/arrakis/services.nix')
-rw-r--r--hosts/arrakis/services.nix21
1 files changed, 21 insertions, 0 deletions
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;