diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix index 31730be4..390a58c1 100644 --- a/desktop/gnome/default.nix +++ b/desktop/gnome/default.nix @@ -83,18 +83,18 @@ # "org.gnome.Calendar" # ]; - nixpkgs.overlays = [ - (final: prev: { - gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: { - mutter = gnomePrev.mutter.overrideAttrs ( old: { - src = pkgs.fetchgit { - url = "https://gitlab.gnome.org/vanvugt/mutter.git"; - # GNOME 45: triple-buffering-v4-45 - rev = "0b896518b2028d9c4d6ea44806d093fd33793689"; - sha256 = "sha256-mzNy5GPlB2qkI2KEAErJQzO//uo8yO0kPQUwvGDwR4w="; - }; - } ); - }); - }) - ]; + # nixpkgs.overlays = [ + # (final: prev: { + # gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: { + # mutter = gnomePrev.mutter.overrideAttrs ( old: { + # src = pkgs.fetchgit { + # url = "https://gitlab.gnome.org/vanvugt/mutter.git"; + # # GNOME 45: triple-buffering-v4-45 + # rev = "0b896518b2028d9c4d6ea44806d093fd33793689"; + # sha256 = "sha256-mzNy5GPlB2qkI2KEAErJQzO//uo8yO0kPQUwvGDwR4w="; + # }; + # } ); + # }); + # }) + # ]; } diff --git a/desktop/gnome/triplebuffering.nix b/desktop/gnome/triplebuffering.nix new file mode 100644 index 00000000..9913c447 --- /dev/null +++ b/desktop/gnome/triplebuffering.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: + +{ + nixpkgs.overlays = [ + (final: prev: { + gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: { + mutter = gnomePrev.mutter.overrideAttrs ( old: { + src = pkgs.fetchgit { + url = "https://gitlab.gnome.org/vanvugt/mutter.git"; + # GNOME 45: triple-buffering-v4-45 + rev = "0b896518b2028d9c4d6ea44806d093fd33793689"; + sha256 = "sha256-mzNy5GPlB2qkI2KEAErJQzO//uo8yO0kPQUwvGDwR4w="; + }; + } ); + }); + }) + ]; +}