From cf311539f4479d017a68ac6f33c05a483e672556 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 30 Jan 2024 13:29:13 +0800 Subject: [PATCH] home: picom: use picom-ft-labs --- home/applications/picom/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/home/applications/picom/default.nix b/home/applications/picom/default.nix index 1241370..6562104 100644 --- a/home/applications/picom/default.nix +++ b/home/applications/picom/default.nix @@ -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;