Added working macbook m1 config

This commit is contained in:
Aleksandr Lebedev 2024-11-20 23:18:12 +01:00
parent 753d9c0e96
commit 6ffdf4a0ee
33 changed files with 9639 additions and 46 deletions

View file

@ -0,0 +1,13 @@
{ pkgs, lib, ... }:
{
imports = [
./apple-silicon-support
];
hardware.asahi = {
peripheralFirmwareDirectory = ./firmware;
useExperimentalGPUDriver = true;
setupAsahiSound = true;
};
#hardware.graphics.enable32Bit = lib.mkForce false;
environment.systemPackages = with pkgs; [mesa mesa.drivers];
}