about summary refs log tree commit diff
path: root/nix/hosts/corrino/ports.nix
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-08-02 21:10:03 +0200
committerEmile <git@emile.space>2024-08-02 21:10:03 +0200
commit84c5cbd22a2475ab21afb2e4a8b97a6645352ab9 (patch)
tree1fe429a45c1e4ade9512b1b86e953193e8d212fe /nix/hosts/corrino/ports.nix
parentde76458cd9069d36bb1bcfbf16982b4c2a40c844 (diff)
ports as a module
Diffstat (limited to 'nix/hosts/corrino/ports.nix')
-rw-r--r--nix/hosts/corrino/ports.nix81
1 files changed, 22 insertions, 59 deletions
diff --git a/nix/hosts/corrino/ports.nix b/nix/hosts/corrino/ports.nix
index e00cf22..328d12a 100644
--- a/nix/hosts/corrino/ports.nix
+++ b/nix/hosts/corrino/ports.nix
@@ -1,62 +1,25 @@
 {
-	# 19xx
-	stream_rtmp = 1935;
-	
-	# 20xx
-	initrd_ssh = 2222;
-	photo = 2342;
-
-	# 30xx
-	git = 3000;
-	hydra = 3001;
-	grafana = 3002;
-	md = 3003;
-	gotosocial = 3004;
-
-	sftpgo = {
-		webdav = 3304;
-		httpd = 3305;
-		metrics = 3306;
+	ports.emile = {
+		stream_rtmp = 1935;
+		initrd_ssh = 2222;
+		photo = 2342;
+		git = 3000;
+		hydra = 3001;
+		grafana = 3002;
+		md = 3003;
+		gotosocial = 3004;
+		stream = 8080;
+		netbox = 8001;
+		restic = 8002;
+		ctf = 8338;
+		magic-hash = 8339;
+		tickets = 8349;
+		talks = 8350;
+		authelia = 9091;
+		prometheus = 9003;
+		gitDaemon = 9418;
+		prometheus_node_exporter = 9002;
+		prometheus_systemd_exporter = 9558;
+		prometheus_smartctl_exporter = 9633;
 	};
-
-	# 34xx
-	# cs = 3463;
-
-	# 40xx
-	events = 4000;
-	seafile = 4001;
-
-	# 54xx
-	pgweb = 5432;
-
-	garage = {
-		rpcPort = 4101;
-		apiPort = 4102;
-		webPort = 4103;
-		adminPort = 4104;
-	};
-
-	# 80xx
-	stream = 8080;
-	netbox = 8001;
-	restic = 8002;
-	# 8003
-	jupyter = 8004;
-
-	# 83xx
-	ctf = 8338;
-	magic-hash = 8339;
-
-	tickets = 8349;
-	talks = 8350;
-
-	# 90xx
-	authelia = 9091;
-	prometheus_node_exporter = 9002;
-	prometheus = 9003;
-	loki = 9004;
-	promtail = 9005;
-	gitDaemon = 9418;
-	prometheus_systemd_exporter = 9558;
-	prometheus_smartctl_exporter = 9633;
 }