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": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1734978744, "lastModified": 1736883708,
"narHash": "sha256-R80xsDCKZOPJv5T+fB5G1ZVgS/51tJgUenGmGFjZat4=", "narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b74a56e2acce8fe88a575287a20ac196d8d01938", "rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b74a56e2acce8fe88a575287a20ac196d8d01938",
"type": "github" "type": "github"
} }
}, },

View file

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

View file

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