packages.desktop: add kwin explicit sync patch

This commit is contained in:
陈浩南 2024-06-08 12:15:24 +08:00
parent 705a43fa41
commit 1dd9a61c95

View File

@ -45,14 +45,27 @@ inputs:
wireshark = { enable = true; package = inputs.pkgs.wireshark; };
yubikey-touch-detector.enable = true;
};
nixpkgs.config.packageOverrides = pkgs:
nixpkgs.overlays = [(final: prev:
{
telegram-desktop = pkgs.telegram-desktop.overrideAttrs (attrs:
telegram-desktop = prev.telegram-desktop.overrideAttrs (attrs:
{
patches = (if (attrs ? patches) then attrs.patches else []) ++ [ ./telegram.patch ];
});
};
kdePackages = prev.kdePackages.overrideScope (final: prev:
{
kwin = prev.kwin.overrideAttrs (prev: { patches = prev.patches ++
[
{
"6.0.5" = inputs.pkgs.fetchurl
{
url = "https://aur.archlinux.org/cgit/aur.git/plain/explicit-sync.patch?h=kwin-explicit-sync"
+ "&id=b6fb7e1b8651365af426cfc7be0d03b9615fdd3a";
sha256 = "1zcksalmkf0mifmv0zl5awy1ch3fvfkkknxqk4mqg0vk1bbpjh2b";
};
}.${prev.version}
]; });
});
})];
services.pcscd.enable = true;
};
}