18 lines
426 B
Nix
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; }));
|
|
};
|
|
};
|
|
}
|