nixos/modules/desktop/picom/default.nix

25 lines
466 B
Nix
Raw Normal View History

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; [
picom
];
2023-08-04 21:05:21 +04:00
home-manager.users.sako = { pkgs, ...}: {
xdg.configfile = {
picom = {
source = ../../../config/picom;
recursive = true;
};
};
};
2023-08-03 17:22:07 +04:00
};
}