update default rpi config

This commit is contained in:
Travis Staton 2023-02-24 16:09:45 -05:00
parent 67f257e524
commit 739c404f11
6 changed files with 147 additions and 104 deletions

View file

@ -16,7 +16,7 @@
populateFirmwareCommands = ''
cp ${pkgs.uboot_rpi_arm64}/u-boot.bin firmware/u-boot-rpi-arm64.bin
cp -r ${pkgs.raspberrypifw}/share/raspberrypi/boot/{start*.elf,*.dtb,bootcode.bin,fixup*.dat,overlays} firmware
cp ${config.raspberrypi-config-output} firmware/config.txt
cp ${config.hardware.raspberry-pi.config-output} firmware/config.txt
'';
populateRootCommands = ''
mkdir -p ./files/boot

View file

@ -162,6 +162,7 @@ in {
"/boot/firmware" = {
device = "/dev/disk/by-label/${config.sdImage.firmwarePartitionName}";
fsType = "vfat";
options = [ "nofail" "noauto" ];
};
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";