From 659d10fd78ccf4b95db807cfa1564daa07acd3e7 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sun, 3 Nov 2024 02:12:56 -0600 Subject: [PATCH] spotlights-macbook-air: Read firmware directly off boot partition This allows us to avoid intermixing firmware within the repository. We already must build this specific flake configuration as impure due to mesa replacement. This may be revisited in the future, but it allows for significantly less hassle at the moment. --- .gitignore | 3 --- hosts/linux/spotlights-macbook-air/configuration.nix | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7735e10..9b9ff51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,2 @@ vim/.netrwhist keysrc - -# macOS-provided firmware -hosts/linux/spotlights-macbook-air/firmware \ No newline at end of file diff --git a/hosts/linux/spotlights-macbook-air/configuration.nix b/hosts/linux/spotlights-macbook-air/configuration.nix index f77a904..5c2a5dc 100644 --- a/hosts/linux/spotlights-macbook-air/configuration.nix +++ b/hosts/linux/spotlights-macbook-air/configuration.nix @@ -17,7 +17,7 @@ boot.loader.efi.canTouchEfiVariables = false; # GPU enablement hardware.asahi = { - peripheralFirmwareDirectory = ./firmware; + peripheralFirmwareDirectory = /boot/asahi; # GPU enablement useExperimentalGPUDriver = true; experimentalGPUInstallMode = "replace";