[NixOS] Add tts via coqui
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
./secrets.nix
|
||||
./ssh.nix
|
||||
./syncthing.nix
|
||||
./tts.nix
|
||||
./user-specific.nix
|
||||
./users.nix
|
||||
./vscode.nix
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
myModules.nvidia.enable = true;
|
||||
myModules.electron.enable = true;
|
||||
myModules.wyoming.enable = true;
|
||||
myModules.tts.enable = true;
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
# nixpkgs.config.cudaSupport = true;
|
||||
|
||||
@@ -21,5 +21,5 @@ makeEnable config "myModules.nvidia" false {
|
||||
services.xserver = {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
# nixpkgs.config.cudaSupport = true;
|
||||
}
|
||||
|
||||
8
nixos/tts.nix
Normal file
8
nixos/tts.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, makeEnable, ... }:
|
||||
makeEnable config "myModules.tts" false {
|
||||
services.tts.servers.coqui = {
|
||||
enable = true;
|
||||
useCuda = false;
|
||||
port = 11115;
|
||||
};
|
||||
}
|
||||
@@ -27,7 +27,7 @@ makeEnable config "myModules.wyoming" false {
|
||||
faster-whisper.servers."${config.networking.hostName}-whisper" = {
|
||||
enable = true;
|
||||
uri = "tcp://0.0.0.0:10300";
|
||||
device = "cuda";
|
||||
device = "auto";
|
||||
language = "en";
|
||||
model = "turbo";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user