MyNixOS website logo
option

services.kiwix-serve.library

A set of ZIM files to serve. The key is used as the name for the ZIM files (e.g. in the example, the files will be served as wikipedia.zim and nix.zim).

Exclusive with services.kiwix-serve.libraryPath.

Declarations
Type
attribute set of absolute path
Default
{ }
Example
{
  wikipedia = "/data/wikipedia_en_all_maxi_2026-02.zim";
  nix = pkgs.fetchurl {
    url = "https://download.kiwix.org/zim/devdocs/devdocs_en_nix_2026-01.zim";
    hash = "sha256-QxB9qDKSzzEU8t4droI08BXdYn+HMVkgiJMO3SoGTqM=";
  };
}