This commit is contained in:
mjallen18
2026-01-05 23:31:06 -06:00
parent 77c76e6483
commit 3b780d4d78
26 changed files with 306 additions and 302 deletions

View File

@@ -18,24 +18,22 @@ in
hardware.deviceTree = {
overlays =
[ ]
++ (
++ (with pkgs.${namespace}; (
if (variant == "5") then
[
{
name = "pisound-pi5-overlay";
dtsFile = "${
pkgs.${namespace}.raspberrypi-overlays
}/dtbs/raspberrypi-overlays/pisound-pi5-overlay.dts";
dtsFile = "${raspberrypi-overlays}/dtbs/raspberrypi-overlays/pisound-pi5-overlay.dts";
}
]
else
[
{
name = "pisound-overlay";
dtsFile = "${pkgs.${namespace}.raspberrypi-overlays}/dtbs/raspberrypi-overlays/pisound-overlay.dts";
dtsFile = "${raspberrypi-overlays}/dtbs/raspberrypi-overlays/pisound-overlay.dts";
}
]
);
));
};
};
}