{ lib, config, ... }: let inherit (lib) mkIf enabled; inherit (lib.marleyos) mkEnableModule; cfg = config.marleyos.programs.zathura; inherit (config.marleyos.theme) colors; in { options = mkEnableModule "programs.zathura"; config = mkIf cfg.enable { programs.zathura = { enable = true; "${colors.base}" = enabled; }; }; }