mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added whisper and piper to home-assistant
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
"mistral-nemo:12b"
|
"mistral-nemo:12b"
|
||||||
"dolphin-mixtral:8x7b"
|
"dolphin-mixtral:8x7b"
|
||||||
"qwq:32b"
|
"qwq:32b"
|
||||||
|
"Qihoo360-Light-R1-32B"
|
||||||
];
|
];
|
||||||
models = "/zfs/models";
|
models = "/zfs/models";
|
||||||
acceleration = "cuda";
|
acceleration = "cuda";
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
./services
|
./services
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
./nvidia.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./runners
|
./runners
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
|||||||
16
systems/jeeves/nvidia.nix
Normal file
16
systems/jeeves/nvidia.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.config.cudaSupport = true;
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
hardware = {
|
||||||
|
nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
|
powerManagement.enable = true;
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
|
nvidiaSettings = true;
|
||||||
|
open = false;
|
||||||
|
};
|
||||||
|
nvidia-container-toolkit.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -58,6 +58,7 @@ in
|
|||||||
rokuecp
|
rokuecp
|
||||||
uiprotect
|
uiprotect
|
||||||
wakeonlan
|
wakeonlan
|
||||||
|
wyoming
|
||||||
];
|
];
|
||||||
extraComponents = [ "isal" ];
|
extraComponents = [ "isal" ];
|
||||||
};
|
};
|
||||||
@@ -66,5 +67,19 @@ in
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
address = "192.168.90.40";
|
address = "192.168.90.40";
|
||||||
};
|
};
|
||||||
|
wyoming = {
|
||||||
|
faster-whisper.servers.main = {
|
||||||
|
enable = true;
|
||||||
|
uri = "tcp://0.0.0.0:10300";
|
||||||
|
model = "medium.en";
|
||||||
|
language = "en";
|
||||||
|
device = "cuda";
|
||||||
|
};
|
||||||
|
piper.servers.main = {
|
||||||
|
enable = true;
|
||||||
|
uri = "tcp://0.0.0.0:10200";
|
||||||
|
voice = "en_GB-alba-medium";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user