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