feat(package): sentinèlla: switch peer discovery from A records to SRV records

This commit is contained in:
2026-04-27 14:08:23 +00:00
parent 7268ec3704
commit 0c81c0454d
3 changed files with 43 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
{ symlinkJoin, writeTextFile, socat, dash, hectic, curl, gawk, jq, inetutils, getent }:
{ symlinkJoin, writeTextFile, socat, dash, hectic, curl, gawk, jq, inetutils, getent, bind }:
let
shell = "${dash}/bin/dash";
bashOptions = [
@@ -36,7 +36,7 @@ let
watcher = hectic.writeShellApplication {
inherit shell bashOptions;
name = "watcher";
runtimeInputs = [ curl jq gawk inetutils getent ];
runtimeInputs = [ curl jq gawk inetutils getent bind.dnsutils ];
text = ''
${builtins.readFile ./log.sh}
${builtins.readFile ./colors.sh}