move kiwix data to /var/lib/kiwix and persist

This commit is contained in:
Colin 2023-12-16 03:05:15 +00:00
parent 5c36ee79be
commit 5edd10c332

View File

@ -6,10 +6,14 @@
{ ... }:
{
sane.persist.sys.byStore.ext = [
{ user = "colin"; group = "users"; path = "/var/lib/kiwix"; }
];
sane.services.kiwix-serve = {
enable = true;
port = 8013;
zimPaths = [ "/var/lib/uninsane/www-archive/wikipedia_en_all_maxi_2023-11.zim" ];
zimPaths = [ "/var/lib/kiwix/wikipedia_en_all_maxi_2023-11.zim" ];
};
services.nginx.virtualHosts."w.uninsane.org" = {