From e21ed89cfeb30ec2123e6de2ac7d271b361ddcd4 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 10 Mar 2026 16:52:27 -0500 Subject: [PATCH] fix: use upstream kiwix-server --- hosts/unstable/icdm-root/wiki.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/unstable/icdm-root/wiki.nix b/hosts/unstable/icdm-root/wiki.nix index e6a793a..fe658e4 100644 --- a/hosts/unstable/icdm-root/wiki.nix +++ b/hosts/unstable/icdm-root/wiki.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: let wikiHost = "wiki.icdm.lan"; kiwixport = 8080; @@ -7,7 +7,9 @@ in services.kiwix-serve = { enable = true; port = kiwixport; - path = "/srv/zims/*.zim"; + library = { + inherit (pkgs) zim; + }; }; greg.proxies."${wikiHost}".target = "http://localhost:${toString kiwixport}";