Disable onboard audio, support Digi Pro DAC

This commit is contained in:
Jordan Holt 2023-12-08 23:22:40 +00:00
parent 81a46270b8
commit 75506d5acd
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,6 @@ with lib.my;
hardware = {
raspberry-pi."4" = {
apply-overlays-dtmerge.enable = true;
audio.enable = true;
fkms-3d.enable = true;
};
deviceTree = {

View File

@ -5,6 +5,11 @@
<nixos-hardware/raspberry-pi/4>
];
boot.loader.raspberryPi.firmwareConfig = ''
dtoverlay=vc4-kms-v3d,noaudio
dtoverlay=hifiberry-digi-pro
'';
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";