Kieran's opinionated (and probably slightly dumb) nix config

feat: add emojibot urls

dunkirk.sh c4fe3a9e a104e5e9

verified
+9 -1
+1 -1
lib/services.nix
··· 132 port = inst.port; 133 runtime = "bun"; 134 repository = inst.repository or null; 135 - health_url = null; 136 data = { sqlite = null; postgres = null; files = []; }; 137 }) enabled; 138
··· 132 port = inst.port; 133 runtime = "bun"; 134 repository = inst.repository or null; 135 + health_url = inst.healthUrl or null; 136 data = { sqlite = null; postgres = null; files = []; }; 137 }) enabled; 138
+2
machines/terebithia/default.nix
··· 404 channel = "C02T3CU03T3"; 405 repository = "https://github.com/taciturnaxolotl/emojibot"; 406 secretsFile = config.age.secrets."emojibot/hackclub".path; 407 }; 408 409 df1317 = { ··· 414 channel = "C06SBHMQU8G"; 415 repository = "https://github.com/taciturnaxolotl/emojibot"; 416 secretsFile = config.age.secrets."emojibot/df1317".path; 417 }; 418 }; 419
··· 404 channel = "C02T3CU03T3"; 405 repository = "https://github.com/taciturnaxolotl/emojibot"; 406 secretsFile = config.age.secrets."emojibot/hackclub".path; 407 + healthUrl = "https://hc.emojibot.dunkirk.sh/health"; 408 }; 409 410 df1317 = { ··· 415 channel = "C06SBHMQU8G"; 416 repository = "https://github.com/taciturnaxolotl/emojibot"; 417 secretsFile = config.age.secrets."emojibot/df1317".path; 418 + healthUrl = "https://df.emojibot.dunkirk.sh/health"; 419 }; 420 }; 421
+6
modules/nixos/services/emojibot.nix
··· 53 default = null; 54 description = "Slack channel ID (non-sensitive, can be public)"; 55 }; 56 }; 57 }); 58 default = {};
··· 53 default = null; 54 description = "Slack channel ID (non-sensitive, can be public)"; 55 }; 56 + 57 + healthUrl = mkOption { 58 + type = types.nullOr types.str; 59 + default = null; 60 + description = "Health check URL for monitoring"; 61 + }; 62 }; 63 }); 64 default = {};