From 9e826969e3adf2b3098f2ba07ea8b9d75ac26a5a Mon Sep 17 00:00:00 2001 From: hektor Date: Mon, 8 Jun 2026 23:49:13 +0200 Subject: [PATCH] feat(anki): configure 'AnkiConnect' addon --- home/modules/anki/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/modules/anki/default.nix b/home/modules/anki/default.nix index 5ea05fd3..a55c1909 100644 --- a/home/modules/anki/default.nix +++ b/home/modules/anki/default.nix @@ -34,7 +34,17 @@ in enable = true; package = config.nixgl.wrap pkgs.anki; addons = with pkgs.ankiAddons; [ - anki-connect + (anki-connect.withConfig { + # https://git.sr.ht/~foosoft/anki-connect/tree/master/item/plugin/config.json + config = { + apiKey = null; + apiLogPath = null; + webBindAddress = "127.0.0.1"; + webBindPort = 8765; + webCorsOriginList = [ "http://localhost" ]; + ignoreOriginList = [ ]; + }; + }) puppy-reinforcement review-heatmap ];