aboutsummaryrefslogtreecommitdiffstats
path: root/modules/vhack/sy/system-info/module.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/vhack/sy/system-info/module.nix (renamed from modules/by-name/sy/system-info/module.nix)15
1 files changed, 13 insertions, 2 deletions
diff --git a/modules/by-name/sy/system-info/module.nix b/modules/vhack/sy/system-info/module.nix
index f04eb49..e25e88c 100644
--- a/modules/by-name/sy/system-info/module.nix
+++ b/modules/vhack/sy/system-info/module.nix
@@ -34,11 +34,22 @@
"993" = checkEnabled "mail" "mail-imap-tls";
"995" = checkEnabled "mail" "mail-pop3-tls";
+ "10222" = checkEnabled "taskchampion-sync" "taskchampion-sync";
+
+ "64738" = checkEnabled "murmur" "murmur";
+
# TODO(@bpeetz): Check which service opens these ports: <2025-01-28>
- "64738" = "???";
+ "4190" = "???";
+ "8112" = "???";
};
in ''
- ${mode} ${builtins.toString port}: ${mappings.${builtins.toString port}}
+ ${mode} ${builtins.toString port}: ${
+ if (builtins.hasAttr "${builtins.toString port}" mappings)
+ then mappings.${builtins.toString port}
+ else
+ builtins.throw
+ "'${builtins.toString port}' is still missing from the system info port -> name map. Maybe add it?"
+ }
'';
# TODO(@bpeetz): This should probably also include the allowed TCP/UDP port ranges. <2025-01-28>