summaryrefslogtreecommitdiffstats
path: root/hosts/icon
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-05-31 16:40:51 -0400
committerSkullheadx <admonty1@protonmail.com>2026-05-31 16:40:51 -0400
commit0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89 (patch)
tree4aaf423b7cf007fdd23a003cd9c50d8d72770af9 /hosts/icon
parentgit user (diff)
downloadnixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.tar.gz
nixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.tar.bz2
nixos-0846fec2ecada3d2b4479f09d9bdfa2c44a6fc89.zip
gitweb
Diffstat (limited to '')
-rw-r--r--hosts/icon/configuration.nix25
1 files changed, 24 insertions, 1 deletions
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;