use system asahi firmware. requires impurity!

This commit is contained in:
Reid 2026-06-09 07:29:33 -07:00
parent 9ec316c7d6
commit cae0bdfc96
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 0 additions and 34 deletions

View file

@ -18,10 +18,6 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
# this makes wi-fi and stuff like that work
# of course, as usual, this is broadcom to blame. Thanks!
hardware.asahi.peripheralFirmwareDirectory = "${pkgs.my.apple-silicon-firmware}/firmware";
modules.hardware = {
audio.enable = true;
bluetooth.enable = true;

View file

@ -1,30 +0,0 @@
{ 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" ];
};
}