{ self, config, lib, pkgs, ... }: with self.lib.nginx; { virtualisation.oci-containers.backend = "podman"; virtualisation.oci-containers.containers = { whisper = { image = "docker.io/rhasspy/wyoming-whisper"; cmd = [ "--model" "base-int8" "--language" "en" ]; autoStart = true; volumes = [ "/var/lib/homeassistant/whisper:/data" ]; ports = [ "10.10.0.1:10300:10300" ]; }; piper = { image = "docker.io/rhasspy/wyoming-piper"; cmd = [ "--voice" "en_GB-jenny_dioco-medium" ]; autoStart = true; volumes = [ "/var/lib/homeassistant/piper:/data" ]; ports = [ "10.10.0.1:10200:10200" ]; }; }; services.nginx = { enable = true; virtualHosts = { "home.vapor.systems" = (proxyDomain "vapor.systems" "http://192.168.144.5:8123/"); }; }; }