GNOME: Difference between revisions
Carschandler (talk | contribs) adwaita-icon-theme has moved to top-level |
→Dynamic triple buffering: mutter moved to top-level on nixpkgs-unstable |
||
| Line 211: | Line 211: | ||
If you wish to try this patch for yourself, add the following to your NixOS configuration: | If you wish to try this patch for yourself, add the following to your NixOS configuration: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ | |||
nixpkgs.overlays = [ | |||
# GNOME 46: triple-buffering-v4-46 | |||
(final: prev: { | |||
mutter = prev.mutter.overrideAttrs (old: { | |||
src = pkgs.fetchFromGitLab { | |||
domain = "gitlab.gnome.org"; | |||
owner = "vanvugt"; | |||
repo = "mutter"; | |||
rev = "triple-buffering-v4-46"; | |||
hash = "sha256-C2VfW3ThPEZ37YkX7ejlyumLnWa9oij333d5c4yfZxc="; | |||
}; | |||
}); | |||
}) | |||
]; | |||
} | |||
</nowiki>}} | |||
Prior to [https://github.com/NixOS/nixpkgs/commit/7f387d6bf915b8fd7d7131edd3e5107f4a98cc9d commit 7f387d6b] (~01.09.2024 for master) <code>mutter</code> was located in <code>gnome</code> scope, so <code>overrideScope</code> was required to achieve the same result: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
{ | { | ||
| Line 231: | Line 251: | ||
} | } | ||
</nowiki>}} | </nowiki>}} | ||
You might need to disable aliases to make it work: | You might need to disable aliases to make it work: | ||