added wyoming
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
imports = [
|
||||
./ollama
|
||||
./wyoming
|
||||
./openssh
|
||||
./pipewire
|
||||
./containers
|
||||
|
||||
52
system-config/services/wyoming/default.nix
Normal file
52
system-config/services/wyoming/default.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.sysconfig.opts.wyoming.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.wyoming.enable {
|
||||
|
||||
services.wyoming = {
|
||||
|
||||
piper = {
|
||||
|
||||
servers.piper = {
|
||||
enable = true;
|
||||
voice = "en-us-ryan-medium";
|
||||
uri = "tcp://0.0.0.0:11435";
|
||||
};
|
||||
};
|
||||
|
||||
openwakeword = {
|
||||
enable = true;
|
||||
uri = "tcp://0.0.0.0:11432";
|
||||
preloadModels = [
|
||||
"alexa"
|
||||
"hey_jarvis"
|
||||
"ok_nabu"
|
||||
];
|
||||
threshold = 0.5;
|
||||
customModelsDirectories = [
|
||||
#./wake_words
|
||||
];
|
||||
};
|
||||
|
||||
faster-whisper = {
|
||||
servers.whisper = {
|
||||
enable = true;
|
||||
#device = "cuda";
|
||||
language = "en";
|
||||
model = "medium.en";
|
||||
uri = "tcp://0.0.0.0:11433";
|
||||
};
|
||||
};
|
||||
|
||||
satellite = {
|
||||
enable = true;
|
||||
uri = "tcp://0.0.0.0:11431";
|
||||
user = "nathan";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user