]> Skullheadx's Git Forge - nixos.git/commitdiff
git daemon
authorSkullheadx <admonty1@protonmail.com>
Mon, 1 Jun 2026 01:30:51 +0000 (21:30 -0400)
committerSkullheadx <admonty1@protonmail.com>
Mon, 1 Jun 2026 01:30:51 +0000 (21:30 -0400)
hosts/icon/configuration.nix

index e089f6b6f1972c8b15a223b5b905299a3aebc7ff..49d3f27f4eda4967c0119bc9f878216289f13416 100644 (file)
@@ -42,6 +42,7 @@
 
   services.gitweb = {
     projectroot = "/srv/git";
+    extraConfig = ''$site_name =  "Skullheadx\'s Git Forge"'';
   };
 
   services.nginx = {
     };
   };
 
+  services.gitDaemon = {
+    enable = true;
+    basePath = "/srv/git";
+    listenAddress = "10.0.0.2";
+  };
+
   networking.hostName = "icon";
   # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.