From 47eda6dab7a99bbf1be08311e0a9e20fa2d5de25 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 24 Jan 2025 18:27:13 +0100 Subject: [PATCH] nixos/wyoming/faster-whisper: 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. --- .../services/home-automation/wyoming/faster-whisper.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix index 018bd5f5c1cc..c01c7db37931 100644 --- a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix +++ b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix @@ -275,18 +275,13 @@ in serviceConfig = { DynamicUser = true; User = "wyoming-faster-whisper"; - StateDirectory = [ - "wyoming/faster-whisper" - "wyoming/faster-whisper/models" - ]; + StateDirectory = [ "wyoming/faster-whisper" ]; # https://github.com/home-assistant/addons/blob/master/whisper/rootfs/etc/s6-overlay/s6-rc.d/whisper/run ExecStart = escapeSystemdExecArgs ( [ (lib.getExe cfg.package) "--data-dir" "/var/lib/wyoming/faster-whisper" - "--download-dir" - "/var/lib/wyoming/faster-whisper/models" "--uri" options.uri "--device"