Files
develnix/module/news2kindle2/cronjob-options.nix
2018-11-20 23:23:23 +01:00

18 lines
426 B
Nix

{ config, lib }:
with lib;
{
options = {
cronExpression = mkOption {
type = types.str;
default = "0 5 * * *";
description = '' cron expression, when fetch should started. '';
example = "0 5 * * *";
};
recipes = mkOption {
type = types.listOf (types.submodule (import ./recipe-options.nix { inherit config lib; }));
};
};
}