Added picom config to setup

This commit is contained in:
Emmet 2023-05-14 20:39:34 -05:00
parent 8d9faf609e
commit 8f505cff9c
5 changed files with 547 additions and 21 deletions

30
user/wm/picom/picom.nix Normal file
View file

@ -0,0 +1,30 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
picom
];
nixpkgs.overlays = [
(self: super:
{
picom = super.picom.overrideAttrs (oldAttrs: rec {
version = "unstable-2021-10-23";
src = super.fetchFromGitHub {
owner = "pijulius";
repo = "picom";
rev = "982bb43e5d4116f1a37a0bde01c9bda0b88705b9";
sha256 = "sha256-YiuLScDV9UfgI1MiYRtjgRkJ0VuA1TExATA2nJSJMhM=";
};
meta = with builtins.lib; {
description = "A fork of picom featuring better animations";
homepage = "https://github.com/pijulius/picom";
};
});
}
)
];
home.file.".config/picom/picom.conf".source = ./picom.conf;
}