2023-08-03 17:22:07 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.picom;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.desktop.picom = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
2023-08-04 21:33:34 +04:00
|
|
|
picom
|
2023-08-03 17:22:07 +04:00
|
|
|
];
|
2023-08-04 21:05:21 +04:00
|
|
|
home-manager.users.sako = { pkgs, ...}: {
|
2023-08-04 21:06:23 +04:00
|
|
|
xdg.configFile = {
|
2023-08-04 21:05:21 +04:00
|
|
|
picom = {
|
|
|
|
source = ../../../config/picom;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-08-03 17:22:07 +04:00
|
|
|
};
|
|
|
|
}
|