tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
feat: add emojibot urls
dunkirk.sh
1 week ago
c4fe3a9e
a104e5e9
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+9
-1
3 changed files
expand all
collapse all
unified
split
lib
services.nix
machines
terebithia
default.nix
modules
nixos
services
emojibot.nix
+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;
0
407
};
408
409
df1317 = {
···
414
channel = "C06SBHMQU8G";
415
repository = "https://github.com/taciturnaxolotl/emojibot";
416
secretsFile = config.age.secrets."emojibot/df1317".path;
0
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
};
0
0
0
0
0
0
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 = {};