Files
stubbfelnix/module/news2kindle/cronjob-options.nix
2018-04-01 00:02:01 +02: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; }));
};
};
}