From 8d5cd55239f57f6ac8a909336533c1c32f0090a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sun, 23 Apr 2023 09:37:11 +0200 Subject: [PATCH] fix(panoptikon): only watch github ssh keys --- systems/ful/panoptikon.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/systems/ful/panoptikon.nix b/systems/ful/panoptikon.nix index 02f3d83..b2f4e76 100644 --- a/systems/ful/panoptikon.nix +++ b/systems/ful/panoptikon.nix @@ -24,7 +24,14 @@ in { enable = true; watchers = { "github-meta" = { - script = panoptikon.urlJSON {} "https://api.github.com/meta"; + script = panoptikon.urlJSON { + jqScript = '' + { + ssh_key_fingerprints: .ssh_key_fingerprints, + ssh_keys: .ssh_keys + } + ''; + } "https://api.github.com/meta"; reporters = [irc-xxx]; }; lammla = {