~/blog/2026-11-19-wazuh-server-on-nixos
Wazuh Server on NixOS
The full Wazuh stack now runs natively on NixOS. Back in 2024, my first setup wrapped the official Docker images in a NixOS unit. That worked, but it was never a real NixOS service.
wazuh-nixos changes that. It is a Nix flake with a NixOS module for each part of Wazuh: the agent, the server, the indexer, and the dashboard. You can declare an entire Wazuh deployment in your NixOS configuration, and then rebuild.
A binary cache is also available, so you do not have to build Wazuh from source. The repository has examples and guides for each module if you want to try it out.