]> Skullheadx's Git Forge - nixos.git/commitdiff
gitweb
authorSkullheadx <admonty1@protonmail.com>
Sun, 31 May 2026 20:40:51 +0000 (16:40 -0400)
committerSkullheadx <admonty1@protonmail.com>
Sun, 31 May 2026 20:40:51 +0000 (16:40 -0400)
flake.lock
hosts/icon/configuration.nix

index 16054d13fc24bc7a3f93232b56ae2747ff0cd838..41d3041845f75057fa5baccdd3c45a98d6d06ca5 100644 (file)
         ]
       },
       "locked": {
-        "lastModified": 1779575248,
-        "narHash": "sha256-Zh9+WMsxDbLVWwhccXjLW+PYO/5ZyUFQLZdYydycbx8=",
+        "lastModified": 1780199518,
+        "narHash": "sha256-NhtWx0youXYRvcqtL+sjdqoZinMcnjcwRsh6eBJUZLg=",
         "owner": "feel-co",
         "repo": "hjem",
-        "rev": "77bf113e3ce91c6632def66222198561437853dc",
+        "rev": "ffa433dd86e761de45ef985d4293f31a4d2a775d",
         "type": "github"
       },
       "original": {
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1779508470,
-        "narHash": "sha256-Ap9KJX+5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M=",
+        "lastModified": 1779560665,
+        "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
         "owner": "nixos",
         "repo": "nixpkgs",
-        "rev": "29916453413845e54a65b8a1cf996842300cd299",
+        "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
         "type": "github"
       },
       "original": {
         "systems": "systems"
       },
       "locked": {
-        "lastModified": 1779461836,
-        "narHash": "sha256-iV6reLT7o1XfofI+mLuFZl7TdDXzsnniXge6aFXjjrc=",
+        "lastModified": 1780042000,
+        "narHash": "sha256-RxFOqPMAlbWiWwh7CQ0bIHIdt4D5gAttx3YVifBBWgE=",
         "owner": "notashelf",
         "repo": "nvf",
-        "rev": "21849b62be17c6657accbf4e0c9e1afe57e27ea3",
+        "rev": "07b57ebc6c9e778c536ac0ff1b01fb18dc90239a",
         "type": "github"
       },
       "original": {
index 14e3d3dbb2c759b9c8054fc6b7f488eaaedf430c..0c6ad15b7bb48d3f21b94f02c430c5521f34ea21 100644 (file)
     };
   };
 
+  services.gitweb = {
+    projectroot = "/srv/git";
+  };
+
+  services.nginx = {
+    enable = true;
+    virtualHosts = {
+      "git.skullheadx.com" = {
+        listen = [
+          {
+            addr = "10.0.0.2";
+            port = 8080;
+          }
+        ];
+      };
+    };
+    gitweb = {
+      enable = true;
+      location = "";
+      virtualHost = "git.skullheadx.com";
+    };
+  };
+
   networking.hostName = "icon";
   # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 
@@ -74,7 +97,7 @@
   };
 
   # Open ports in the firewall.
-  networking.firewall.allowedTCPPorts = [9418];
+  networking.firewall.allowedTCPPorts = [9418 8080];
   networking.firewall.allowedUDPPorts = [55555];
   # Or disable the firewall altogether.
   # networking.firewall.enable = false;