Update mesa to use unstable (25.0.2)

This commit is contained in:
BuyMyMojo 2025-03-26 18:40:59 +11:00
parent 09f298f4f4
commit c1c8337a21
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
3 changed files with 12 additions and 4 deletions

6
nixos/flake.lock generated
View file

@ -24,11 +24,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742946951, "lastModified": 1742957044,
"narHash": "sha256-us5DS0XGVpZBMbYs3TSQYn61bswEPmLpBOYITD4/bUE=", "narHash": "sha256-gwW0tBIA77g6qq45y220drTy0DmThF3fJMwVFUtYV9c=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0ff53f6d336edb3ad81647dc931ad1c9c7f890ca", "rev": "ce287a5cd3ef78203bc78021447f937a988d9f6f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,7 +13,11 @@
}; };
outputs = outputs =
{ nixpkgs, unstable, ... }@inputs: {
nixpkgs,
unstable,
...
}@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -6,6 +6,7 @@
lib, lib,
pkgs, pkgs,
modulesPath, modulesPath,
unstable,
... ...
}: }:
@ -192,8 +193,11 @@
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware = { hardware = {
graphics = { graphics = {
# === vulkan/mesa ===
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
package = unstable.mesa;
# === vulkan/mesa ===
# === amdvlk driver === # === amdvlk driver ===
extraPackages = with pkgs; [ extraPackages = with pkgs; [