Deduplicate unprotected service messages via mkUnprotectedMessage

This commit is contained in:
SebastianStork 2025-10-21 22:52:44 +02:00
parent 464b6a7850
commit 66d5263aca
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
4 changed files with 6 additions and 7 deletions

View file

@ -12,4 +12,7 @@ lib: {
path: path |> builtins.readDir |> lib.filterAttrs (_: type: type == "directory") |> lib.attrNames;
genAttrs = f: names: lib.genAttrs names f;
mkUnprotectedMessage =
name: "${name} should only be exposed on private networks; access control isn't yet configured";
}