Commit db6e28d17a8a

Vincent Demeester <vincent@sbr.pm>
2026-07-03 00:13:05
refactor(okinawa): disable llama-server
Stopped auto-starting the llama-cpp service and removed port 8090 from the firewall since it is not used for real work. Kept the unit definition and models config in the repo for future re-enablement.
1 parent 489a0f0
Changed files (1)
systems
okinawa
systems/okinawa/extra.nix
@@ -241,11 +241,11 @@
     "d /run/opencode/config 0755 vincent users -"
   ];
 
-  # Firewall: OpenCode web + llama-server (VPN access) + monitoring + Harmonia
+  # Firewall: OpenCode web + monitoring + Harmonia
+  # (llama-server port 8090 removed: service disabled, config kept for re-enablement)
   networking.firewall.allowedTCPPorts = [
     5000 # Harmonia binary cache
     5555 # OpenCode web
-    8090 # llama-server
     8880 # readwise-reader triage report
     9000 # Prometheus node exporter
   ];
@@ -295,7 +295,9 @@
     {
       description = "llama.cpp server (Vulkan, router mode)";
       after = [ "network.target" ];
-      wantedBy = [ "multi-user.target" ];
+      # Disabled: not used for real work. Config kept for re-enablement.
+      # Re-enable by restoring wantedBy = [ "multi-user.target" ] and firewall port 8090.
+      wantedBy = [ ];
 
       environment = {
         GGML_VK_VISIBLE_DEVICES = "0"; # Use RX 6700S dGPU only