fixed the audio not working (yayyyy)
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -69,8 +69,19 @@
|
|||||||
# Make Davinci use the generic alsa device so it doesn't hang when there isn't one available
|
# Make Davinci use the generic alsa device so it doesn't hang when there isn't one available
|
||||||
davinciAlsaConfig = pkgs.writeText "davinci-alsa.conf" ''
|
davinciAlsaConfig = pkgs.writeText "davinci-alsa.conf" ''
|
||||||
pcm.!default {
|
pcm.!default {
|
||||||
type plug
|
type asym
|
||||||
slave.pcm "hw:CARD=Generic,DEV=0"
|
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
|
in
|
||||||
@@ -81,6 +92,7 @@
|
|||||||
with inner-pkgs;
|
with inner-pkgs;
|
||||||
[
|
[
|
||||||
alsa-lib
|
alsa-lib
|
||||||
|
alsa-plugins
|
||||||
aprutil
|
aprutil
|
||||||
bzip2
|
bzip2
|
||||||
dbus
|
dbus
|
||||||
|
|||||||
Reference in New Issue
Block a user