fix: replace libgbm with mesa in hyprland

This commit is contained in:
Youwen Wu 2025-01-16 15:39:38 -08:00
parent ce00823a20
commit 110f4792da
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 10 additions and 5 deletions

View file

@ -786,17 +786,17 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1734978744,
"narHash": "sha256-R80xsDCKZOPJv5T+fB5G1ZVgS/51tJgUenGmGFjZat4=",
"lastModified": 1736883708,
"narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b74a56e2acce8fe88a575287a20ac196d8d01938",
"rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"rev": "b74a56e2acce8fe88a575287a20ac196d8d01938",
"type": "github"
}
},

View file

@ -2,7 +2,7 @@
description = "System configuration flake.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/b74a56e2acce8fe88a575287a20ac196d8d01938";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# stablepkgs.url = "github:nixos/nixpkgs/nixos-24.05";
# bleedingpkgs.url = "github:nixos/nixpkgs/master";
# nixpkgs-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small";

View file

@ -44,6 +44,11 @@
nixpkgs.overlays = [
inputs.apple-silicon.overlays.apple-silicon-overlay
inputs.vesktop-bin.overlays.default
(final: prev: {
hyprland = prev.hyprland.override {
libgbm = prev.mesa;
};
})
];
services.udev.extraRules = ''