From 84c5cbd22a2475ab21afb2e4a8b97a6645352ab9 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 2 Aug 2024 21:10:03 +0200 Subject: ports as a module --- nix/hosts/corrino/ports.nix | 81 ++++++++++++--------------------------------- 1 file changed, 22 insertions(+), 59 deletions(-) (limited to 'nix/hosts') 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; } -- cgit 1.4.1