{ lib, ... }: { raspberry-pi-nix.board = "bcm2711"; fileSystems."/mnt/usb_share" = { device = "/piusb.bin"; fsType = "exfat"; options = [ "loop" "noatime" "nofail" "rw" "umask=000" "users" ]; }; hardware.raspberry-pi.config.all.dt-overlays = ( overlays: lib.attrsets.mapAttrs (_name: _value: { enable = true; params = { }; }) ( lib.listToAttrs ( map (overlay: { name = overlay; value = { }; }) overlays ) ) ) [ "disable-bt" "dwc2" "usb_power" "ramlog" "hdmi_blanking" ]; }