From 4a5b823e81a15c36834c7c2a9f0e18b6added29e Mon Sep 17 00:00:00 2001 From: voidarc Date: Fri, 25 Sep 2026 16:20:19 +0100 Subject: [PATCH] fixed the audio not working (yayyyy) --- flake.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index ccab9f1..ce1e2fd 100644 --- a/flake.nix +++ b/flake.nix @@ -69,8 +69,19 @@ # Make Davinci use the generic alsa device so it doesn't hang when there isn't one available davinciAlsaConfig = pkgs.writeText "davinci-alsa.conf" '' pcm.!default { - type plug - slave.pcm "hw:CARD=Generic,DEV=0" + type asym + playback.pcm { + type pulse + device "alsa_output.pci-0000_0b_00.4.analog-stereo" + } + capture.pcm { + type pulse + device "alsa_input.pci-0000_0b_00.4.analog-stereo" + } + } + + ctl.!default { + type pulse } ''; in @@ -81,6 +92,7 @@ with inner-pkgs; [ alsa-lib + alsa-plugins aprutil bzip2 dbus