mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-05-13 06:59:48 +02:00
✨ Enable Mutter dynamic tripple buffering patch
This commit is contained in:
parent
3958d51e78
commit
de5c068d60
2 changed files with 31 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -184,11 +184,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742169275,
|
"lastModified": 1742206328,
|
||||||
"narHash": "sha256-nkH2Edu9rClcsQp2PYBe8E6fp8LDPi2uDBQ6wyMdeXI=",
|
"narHash": "sha256-q+AQ///oMnyyFzzF4H9ShSRENt3Zsx37jTiRkLkXXE0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5d9b5431f967007b3952c057fc92af49a4c5f3b2",
|
"rev": "096478927c360bc18ea80c8274f013709cf7bdcd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -12,6 +12,34 @@
|
||||||
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
mutter = prev.mutter.overrideAttrs (oldAttrs: {
|
||||||
|
# GNOME dynamic triple buffering
|
||||||
|
# See https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1441
|
||||||
|
src = final.fetchFromGitLab {
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
owner = "vanvugt";
|
||||||
|
repo = "mutter";
|
||||||
|
rev = "triple-buffering-v4-47";
|
||||||
|
hash = "sha256-6n5HSbocU8QDwuhBvhRuvkUE4NflUiUKE0QQ5DJEzwI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = let
|
||||||
|
gvdb = final.fetchFromGitLab {
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
owner = "GNOME";
|
||||||
|
repo = "gvdb";
|
||||||
|
rev = "2b42fc75f09dbe1cd1057580b5782b08f2dcb400";
|
||||||
|
hash = "sha256-CIdEwRbtxWCwgTb5HYHrixXi+G+qeE1APRaUeka3NWk=";
|
||||||
|
};
|
||||||
|
in ''
|
||||||
|
cp -a "${gvdb}" ./subprojects/gvdb
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# Configure Sops
|
# Configure Sops
|
||||||
sops.defaultSopsFile = lib.snowfall.fs.get-file "secrets/default.yaml";
|
sops.defaultSopsFile = lib.snowfall.fs.get-file "secrets/default.yaml";
|
||||||
sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # The main AGE key is expected in this location, it is only needed for this system.
|
sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # The main AGE key is expected in this location, it is only needed for this system.
|
||||||
|
|
Loading…
Add table
Reference in a new issue