laptop mode

This commit is contained in:
Reid 2024-05-22 23:33:30 -07:00
parent 45741e6110
commit f2ee496f47
3 changed files with 68 additions and 30 deletions

View file

@ -0,0 +1,25 @@
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "apple-firmware";
version = "unstable";
src = fetchFromGitHub {
owner = "AdityaGarg8";
repo = "Apple-Firmware";
rev = "c3ba2bce7b5b7d08a478763c678d71ddded60403";
hash = "sha256-p91pyOYKHnJvaBZ7nxrBqFU63UQhMPWhm2GxabfncY4=";
};
installPhase = ''
mkdir -p "$out/lib/firmware/brcm"
cp -r lib/firmware/brcm/. "$out/lib/firmware/brcm/"
'';
meta = with lib; {
description = "Various apple broadcom drivers, ripped from a runner image";
# homepage = "https://jacobxperez.github.io/atkinson-hyperlegible-pro/";
# license = licenses.ofl;
platforms = platforms.all;
};
}