From 14ce74a5ef2e36a2487492517f69cedafd949caa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 24 Jan 2025 18:28:31 +0100 Subject: [PATCH] nixos/wyoming/piper: drop download directory The download directory must be one of the data directories, but if we do not set it the first data directory will be used as the data directory. --- nixos/modules/services/home-automation/wyoming/piper.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/modules/services/home-automation/wyoming/piper.nix b/nixos/modules/services/home-automation/wyoming/piper.nix index 7b6993a65dae..2ef64c878239 100644 --- a/nixos/modules/services/home-automation/wyoming/piper.nix +++ b/nixos/modules/services/home-automation/wyoming/piper.nix @@ -136,18 +136,13 @@ in serviceConfig = { DynamicUser = true; User = "wyoming-piper"; - StateDirectory = [ - "wyoming/piper" - "wyoming/piper/models" - ]; + StateDirectory = [ "wyoming/piper" ]; # https://github.com/home-assistant/addons/blob/master/piper/rootfs/etc/s6-overlay/s6-rc.d/piper/run ExecStart = escapeSystemdExecArgs ( [ (lib.getExe cfg.package) "--data-dir" "/var/lib/wyoming/piper" - "--download-dir" - "/var/lib/wyoming/piper/models" "--uri" options.uri "--piper"