home: picom: use picom-ft-labs

This commit is contained in:
Guanran Wang 2024-01-30 13:29:13 +08:00
parent e45db982cc
commit cf311539f4
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,15 +1,11 @@
{pkgs, ...}: {
{
pkgs,
inputs,
...
}: {
services.picom = {
enable = true;
package = pkgs.picom.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "FT-Labs";
repo = "picom";
rev = "ad8feaad127746beaf2afe2b2ea37e7af204a2ac";
sha256 = "sha256-3lZ41DkNi7FVyEwvMaWwOjLD2aZ6DxZhhvVQMnU6JrI=";
};
buildInputs = old.buildInputs ++ [pkgs.pcre2];
});
package = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.picom-ft-labs;
settings = {
# Animations
animations = true;