This commit is contained in:
mjallen18
2025-06-09 19:35:45 -05:00
parent 5939408bce
commit 20e2ec1edf
9 changed files with 58 additions and 25 deletions

View File

@@ -5,19 +5,19 @@ in
{
boot = {
loader = {
systemd-boot.enable = lib.mkForce true;
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = false;
generic-extlinux-compatible.enable = lib.mkForce false;
generic-extlinux-compatible.enable = lib.mkForce true;
};
plymouth.enable = true;
kernelPackages = pkgs.linuxPackages_latest;
plymouth.enable = false;
kernelPackages = pkgs.linuxPackages_rpi4;
kernelModules = [ "i2c-dev" "i2c-bcm2835" ];
initrd.kernelModules = [ "i2c-dev" "i2c-bcm2835" ];
};
environment.systemPackages = [ uefi_pi4 ];
# environment.systemPackages = [ uefi_pi4 ];
# Copy UEFI firmware files to the boot partition
system.activationScripts.installUEFIFirmware.text = ''
cp -r ${uefi_pi4}/share/uefi_rpi4/* /boot/firmware/
'';
# system.activationScripts.installUEFIFirmware.text = ''
# cp -r ${uefi_pi4}/share/uefi_rpi4/* /boot/firmware/
# '';
}