nixos/gnome: add triple buffering patch

This commit is contained in:
Aly Raffauf 2024-07-07 14:48:46 -04:00
parent b084f65130
commit 1cfb1877cb

View file

@ -37,6 +37,23 @@ in {
] ]
++ [gnomeCsAdjuster]; ++ [gnomeCsAdjuster];
nixpkgs.overlays = [
# GNOME 46: triple-buffering-v4-46
(final: prev: {
gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {
mutter = gnomePrev.mutter.overrideAttrs (old: {
src = pkgs.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "vanvugt";
repo = "mutter";
rev = "triple-buffering-v4-46";
hash = "sha256-fkPjB/5DPBX06t7yj0Rb3UEuu5b9mu3aS+jhH18+lpI=";
};
});
});
})
];
# Enable keyring support for KDE apps in GNOME. # Enable keyring support for KDE apps in GNOME.
security.pam.services.gdm = { security.pam.services.gdm = {
enableGnomeKeyring = true; enableGnomeKeyring = true;