xin/hosts/weatherzero/hardware-configuration.nix

15 lines
297 B
Nix
Raw Normal View History

2023-09-12 08:44:05 -06:00
{ pkgs, ... }: {
hardware = {
deviceTree = {
enable = true;
2023-09-12 08:44:05 -06:00
overlays = [ "${pkgs.device-tree_rpi.overlays}/hifiberry-dac.dtbo" ];
};
enableRedistributableFirmware = true;
i2c.enable = true;
firmware = with pkgs; [
raspberrypiWirelessFirmware
];
};
}