diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-29 19:32:15 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-30 00:45:17 +0100 |
commit | 4f971ebf3ca68a419995fba30363a8f328bf9fba (patch) | |
tree | a7ef905c37c3a589f13e37884b2c335abbc9b700 /nixos/modules/services/audio | |
parent | b27bf82fba6e9d52496bbf58950bb4cc4004ef18 (diff) | |
download | nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar.gz nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar.bz2 nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar.lz nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar.xz nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.tar.zst nixlib-4f971ebf3ca68a419995fba30363a8f328bf9fba.zip |
nixos/wyoming/faster-whisper: pass device config to executable
The device could previously be configured but wasn't wired up to do anything meaningful and as such always defaulted to CPU.
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/wyoming/faster-whisper.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/wyoming/faster-whisper.nix b/nixos/modules/services/audio/wyoming/faster-whisper.nix index 205e05f2ed17..f156e8314a95 100644 --- a/nixos/modules/services/audio/wyoming/faster-whisper.nix +++ b/nixos/modules/services/audio/wyoming/faster-whisper.nix @@ -138,6 +138,7 @@ in --data-dir $STATE_DIRECTORY \ --download-dir $STATE_DIRECTORY \ --uri ${options.uri} \ + --device ${options.device} \ --model ${options.model} \ --language ${options.language} \ --beam-size ${options.beamSize} ${options.extraArgs} |