{ config, lib }: let cfg = config.services.news2kindle; in with lib; { options = { mailAddress = mkOption { type = types.str; default = null; description = '' mail address of the recipient ''; example = "foo@bar.bla"; }; fromMail = mkOption { example = "foo@bar.bla"; default = cfg.fromMail; type = types.str; description = '' Adrees of the sender, please allow this mail in your kindle doc service ''; }; cronJobs = mkOption { type = types.attrsOf (types.submodule (import ./cronjob-options.nix { inherit config lib; })); }; }; }