[NixOS] Tweak wyoming service names
This commit is contained in:
@@ -2,7 +2,7 @@ switch *args:
|
||||
sudo nixos-rebuild switch --flake '.#' --impure {{args}}
|
||||
|
||||
fix-local-path-issue:
|
||||
nix flake lock --update-input imalison-taffybar
|
||||
nix flake update imalison-taffybar
|
||||
|
||||
|
||||
expire-home-manager-generations:
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
myModules.wyoming.enable = true;
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
# nixpkgs.config.cudaSupport = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
android-studio
|
||||
@@ -72,7 +73,7 @@
|
||||
networking.hostName = "strixi-minaj";
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
|
||||
|
||||
home-manager.users = forEachUser {
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
@@ -21,4 +21,5 @@ makeEnable config "myModules.nvidia" false {
|
||||
services.xserver = {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
}
|
||||
|
||||
@@ -151,11 +151,18 @@ final: prev:
|
||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
|
||||
(
|
||||
python-final: python-prev: {
|
||||
pysilero-vad = python-prev.pysilero-vad.overridePythonAttrs (_: {
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "colonelpanic8";
|
||||
repo = "pysilero-vad";
|
||||
rev = "846caf4aa6c5f5319b87d3127dfe0aa9e88b338e";
|
||||
hash = "sha256-SjoyiHm2RiLDFbwduKsoPK4/AvQiwZ39ZsPj2etXRV0=";
|
||||
};
|
||||
});
|
||||
home-assistant-chip-wheels = python-prev.home-assistant-chip-wheels.overrideAttrs
|
||||
(oldAttrs: rec {
|
||||
bypassAttestationVerificationPatch = final.fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/tronikos/chip-wheels/8a5ec21d114010723cf428ffe79e244da7562390/8766-Bypass-attestation-verification.patch";
|
||||
# You will need to compute or look up the correct sha256:
|
||||
sha256 = "sha256-RgmlPRSfw1PPMdHBzpoK2Drrb8nEagATY8Y5ngi7x0k=";
|
||||
};
|
||||
postPatch = ''
|
||||
|
||||
@@ -3,7 +3,7 @@ makeEnable config "myModules.wyoming" false {
|
||||
environment.systemPackages = with pkgs; [
|
||||
alsa-utils
|
||||
];
|
||||
systemd.services."wyoming-satellite".path = with pkgs; [pipewire];
|
||||
systemd.services."wyoming-satellite".path = with pkgs; [pipewire pulseaudio];
|
||||
services.wyoming = {
|
||||
satellite = {
|
||||
enable = true;
|
||||
@@ -16,21 +16,22 @@ makeEnable config "myModules.wyoming" false {
|
||||
"--wake-word-name=ok_nabu"
|
||||
];
|
||||
};
|
||||
faster-whisper.servers.strixi = {
|
||||
openwakeword = {
|
||||
enable = true;
|
||||
preloadModels = ["alexa" "ok_nabu" "hey_rhasspy"];
|
||||
uri = "tcp://0.0.0.0:10400";
|
||||
};
|
||||
faster-whisper.servers."${config.networking.hostName}-whisper" = {
|
||||
enable = true;
|
||||
uri = "tcp://0.0.0.0:10300";
|
||||
device = "auto";
|
||||
language = "en";
|
||||
model = "turbo";
|
||||
};
|
||||
piper.servers.strixi = {
|
||||
piper.servers."${config.networking.hostName}-piper" = {
|
||||
enable = true;
|
||||
uri = "tcp://0.0.0.0:10200";
|
||||
voice = "en-us-ryan-medium";
|
||||
};
|
||||
openwakeword = {
|
||||
enable = true;
|
||||
preloadModels = ["alexa" "ok_nabu" "hey_rhasspy"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user