Commit 489a0f099d2d

Vincent Demeester <vincent@sbr.pm>
2026-07-03 00:11:44
refactor(sakhalin): remove kiwix offline content server
Dropped the kiwix-serve systemd service and the download-kiwix-zim home package as the offline content service is no longer used.
1 parent ef16d2c
Changed files (2)
systems
systems/sakhalin/extra.nix
@@ -442,21 +442,6 @@ in
 
     startAt = "daily";
   };
-  # Kiwix serve
-  systemd.services.kiwix-serve = {
-    description = "Kiwix offline content server";
-    wantedBy = [ "multi-user.target" ];
-    after = [ "network.target" ];
-
-    serviceConfig = {
-      Type = "simple";
-      User = "vincent";
-      ExecStart = "${pkgs.bash}/bin/bash -c '${pkgs.kiwix-tools}/bin/kiwix-serve --port=8080 /mnt/gaia/kiwix/*.zim'";
-      Restart = "on-failure";
-      RestartSec = "5s";
-    };
-  };
-
   # Open firewall for services accessible from the network
   networking.firewall.allowedTCPPorts = [
     8000 # Paperless-ngx web interface
systems/sakhalin/home.nix
@@ -1,12 +1,8 @@
-{ pkgs, ... }:
+{ ... }:
 {
   imports = [
     ../../home/common/services/imapfilter.nix
     ../../home/common/services/imapfilter-rules-updater.nix
     ../../home/common/services/mail-monitor.nix
   ];
-
-  home.packages = with pkgs; [
-    download-kiwix-zim
-  ];
 }