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}";