From a938447b8a7f6e364a5bcee92f9881d8bfbbbdf3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 6 Feb 2025 12:04:29 -0700 Subject: [PATCH] [NixOS] Explicitly enable pipewire --- nixos/base.nix | 1 + nixos/wyoming.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/nixos/base.nix b/nixos/base.nix index 4f73d2dd..a4d10897 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -40,6 +40,7 @@ makeEnable config "myModules.base" true { # Audio hardware.pulseaudio.enable = false; + services.pipewire.audio.enable = true; # Bluetooth hardware.bluetooth.enable = true; diff --git a/nixos/wyoming.nix b/nixos/wyoming.nix index 4ee9c358..22df1b23 100644 --- a/nixos/wyoming.nix +++ b/nixos/wyoming.nix @@ -12,6 +12,10 @@ makeEnable config "myModules.wyoming" false { microphone = { command = "pw-record --channels 1 -"; }; + extraArgs = [ + "--wake-uri=tcp://0.0.0.0:10400" + "--wake-word-name=ok_nabu" + ]; }; faster-whisper.servers.strixi = { enable = true;