diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-05-31 16:40:51 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-05-31 16:40:51 -0400 |
| commit | 0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89 (patch) | |
| tree | 4aaf423b7cf007fdd23a003cd9c50d8d72770af9 | |
| parent | git user (diff) | |
| download | nixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.tar.gz nixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.tar.bz2 nixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.zip | |
gitweb
| -rw-r--r-- | flake.lock | 18 | ||||
| -rw-r--r-- | hosts/icon/configuration.nix | 25 |
2 files changed, 33 insertions, 10 deletions
@@ -45,11 +45,11 @@ ] }, "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": { @@ -218,11 +218,11 @@ }, "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": { @@ -244,11 +244,11 @@ "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": { diff --git a/hosts/icon/configuration.nix b/hosts/icon/configuration.nix index 14e3d3d..0c6ad15 100644 --- a/hosts/icon/configuration.nix +++ b/hosts/icon/configuration.nix @@ -33,6 +33,29 @@ }; }; + 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; |
