[NixOS] Fix mic for wyoming-satellite
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
inputs.nixos-hardware.nixosModules.dell-xps-17-9700-nvidia
|
||||
];
|
||||
|
||||
myModules.wyoming.enable = true;
|
||||
myModules.base.enable = true;
|
||||
myModules.desktop.enable = true;
|
||||
myModules.xmonad.enable = true;
|
||||
|
||||
@@ -72,6 +72,19 @@ final: prev:
|
||||
};
|
||||
});
|
||||
|
||||
wyoming-satellite = prev.wyoming-satellite.overridePythonAttrs (_: {
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "colonelpanic8";
|
||||
repo = "wyoming-satellite";
|
||||
rev = "509628a9be2cf61116b6d0475e19c0b92a855e0b";
|
||||
hash = "sha256-ewSxVv+8r2VGYNOoj8jiMogXtp1GPApcRc2BH3Q+8W8=";
|
||||
};
|
||||
build-system = with final.python3.pkgs; [ poetry-core ];
|
||||
pythonImportsCheck = [
|
||||
"wyoming_satellite"
|
||||
];
|
||||
});
|
||||
|
||||
git-sync = prev.git-sync.overrideAttrs (_: {
|
||||
src = prev.fetchFromGitHub {
|
||||
repo = "git-sync";
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
{ config, makeEnable, ... }:
|
||||
{ pkgs, config, makeEnable, ... }:
|
||||
makeEnable config "myModules.wyoming" false {
|
||||
environment.systemPackages = with pkgs; [
|
||||
alsa-utils
|
||||
];
|
||||
systemd.services."wyoming-satellite".path = with pkgs; [pipewire];
|
||||
services.wyoming = {
|
||||
satellite = {
|
||||
enable = true;
|
||||
package = pkgs.wyoming-satellite;
|
||||
user = "imalison";
|
||||
microphone = {
|
||||
command = "pw-record --channels 1 -";
|
||||
};
|
||||
};
|
||||
faster-whisper.servers.strixi = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user