2023-08-03 17:22:07 +04:00
|
|
|
{
|
2024-01-29 11:57:00 +04:00
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.modules.desktop.picom;
|
|
|
|
in {
|
2023-08-03 17:22:07 +04:00
|
|
|
options.modules.desktop.picom = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2024-01-29 11:57:00 +04:00
|
|
|
users.users.sako.packages = with pkgs; [
|
2023-08-04 21:33:34 +04:00
|
|
|
picom
|
2023-08-03 17:22:07 +04:00
|
|
|
];
|
2024-01-29 11:57:00 +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
|
|
|
};
|
|
|
|
}
|