tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing graphics gives me error

bruhderek opened this issue · comments

I tried adding this on configuration.nix:

  hardware.asahi = {
    withRust = true;
    addEdgeKernelConfig = true;
    useExperimentalGPUDriver = true;
    experimentalGPUInstallMode = "replace";
  };

Am I doing something wrong?

Edit: The configuration built, OpenGL render string is Apple M1 (G13G B1), but the system still seems laggy and it does not seem like it uses the gpu

test this config

  nixpkgs.overlays = [
    (final: prev: { mesa = final.mesa-asahi-edge; })
  ];

  hardware = {
    asahi = {
      addEdgeKernelConfig = true;
      peripheralFirmwareDirectory = ./firmware;
      useExperimentalGPUDriver = true;
      experimentalGPUInstallMode = "driver";
      withRust = true;
    };
    opengl.enable = true;
  };

@idm1try Already figured it out but thanks anyways

@minego removed the linux-x86_64 in configuraiton.nix