{ pkgs, lib, config, ... }: with lib; let cfg = config.module.programs.custom.ctree; in { options = { module.programs.custom.ctree = { enable = mkEnableOption ""; }; }; config = mkIf cfg.enable { home.packages = [ (pkgs.callPackage ./pkg.nix { }) ]; }; }