mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 23:25:52 +05:30
31 lines
739 B
Nix
31 lines
739 B
Nix
|
{ 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;
|
||
|
}
|