mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Added picom config to setup
This commit is contained in:
parent
8d9faf609e
commit
8f505cff9c
5 changed files with 547 additions and 21 deletions
30
user/wm/picom/picom.nix
Normal file
30
user/wm/picom/picom.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue