feat: update inputs, remove asahi's mesa workaround

This commit is contained in:
Ryan Yin
2025-12-25 12:41:47 +08:00
parent 38354330ea
commit 9f4ff5a8a3
4 changed files with 10 additions and 33 deletions

View File

@@ -3,7 +3,6 @@
pkgs,
nixos-apple-silicon,
my-asahi-firmware,
nixpkgs-mesa,
...
}:
{
@@ -13,13 +12,6 @@
zramSwap.memoryPercent = lib.mkForce 75;
# Workaround for Mesa 25.3.1 regression
# https://github.com/nix-community/nixos-apple-silicon/issues/380
# https://github.com/NixOS/nixpkgs/pull/461866
hardware.graphics.package =
assert pkgs.mesa.version == "25.3.1";
(import nixpkgs-mesa { localSystem = pkgs.stdenv.hostPlatform; }).mesa;
nix.settings = {
extra-substituters = [
"https://nixos-apple-silicon.cachix.org"