pi4 stuffs
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
uefi_pi4 = pkgs.callPackage ./pi4-uefi.nix { };
|
||||
in
|
||||
{
|
||||
boot = {
|
||||
loader = {
|
||||
@@ -9,4 +12,10 @@
|
||||
plymouth.enable = true;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
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/
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user