summaryrefslogblamecommitdiffstats
path: root/modules/desktop/picom.nix
blob: dcee480db4058b1f741a6c38e73a6e7c46766a6e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                                           




                            
                        






                                        



              
{ config, lib, pkgs, user, ... }:
with lib;
{
    config = mkIf (config.xserver.enable) {
        services.picom = {
            enable = true;

            fade = true;
            fadeDelta = 2;

            backend = "glx";
            settings = {
                corner-radius = 8;

                blur = {
                    method = "gaussian";
                    size = 10;
                    deviation = 5.0;
                };
            };
        };
    };
}