weee new laptoo

This commit is contained in:
Reid 2026-06-07 23:15:03 -07:00
parent c2af5792d1
commit 38b26a082f
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
14 changed files with 148 additions and 141 deletions

View file

@ -0,0 +1,30 @@
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "apple-firmware";
version = "1.0.0";
src = fetchFromGitHub {
owner = "binary-star-systems";
repo = "apple-firmware";
rev = "72b625c4b160444def3d9f4a9c0c4704cc1a6e60";
hash = "sha256-h1kseeQnL2I7933fsSUVMjCzZgkAgiGpJVxM60qse5Q=";
};
installPhase = ''
runHook preInstall
mkdir -p "$out/firmware"
cp -r "$src/firmware/." "$out/firmware/"
runHook postInstall
'';
meta = with lib; {
description = "Apple firmware used in m-series (apple silicon) based computers";
homepage = "https://github.com/binary-star-systems/apple-firmware";
# idk what to put here:
# license = licenses.ofl;
platforms = [ "aarch64-linux" ];
};
}