From d9ff154b746708267cedb1dd6fffee1afb563754 Mon Sep 17 00:00:00 2001 From: Jana Steuernagel Date: Sat, 11 Jan 2025 11:21:58 +0100 Subject: [PATCH] nixos/wyoming-faster-whisper: remove ProcSubset protection ProcSubset protection blocks faster-whisper from parsing /proc/cpuinfo This results in a fallback to a suboptimal processing method, causing processing times to be unnecessarily long --- .../services/home-automation/wyoming/faster-whisper.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix index 69407efba0c6..25216689599d 100644 --- a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix +++ b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix @@ -273,7 +273,8 @@ in ProtectKernelTunables = true; ProtectControlGroups = true; ProtectProc = "invisible"; - ProcSubset = "pid"; + # "all" is required because faster-whisper accesses /proc/cpuinfo to determine cpu capabilities + ProcSubset = "all"; RestrictAddressFamilies = [ "AF_INET" "AF_INET6"