diff options
| author | Carl Thomé <carlthome@gmail.com> | 2023-12-30 23:47:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 23:47:20 +0100 |
| commit | 59bef44059fbd0b80aed887c26f4cf74e517244a (patch) | |
| tree | 3e7ddeda4c60135f5a754f2a061731d844dc95db /modules | |
| parent | 0a3afdc60042d8e1c2deb63bdfa017acc424a397 (diff) | |
Fix type error
```
error: A definition for option `launchd.user.agents.[...].serviceConfig.StartCalendarInterval' is not of type `null or (list of (submodule))'. Definition values:
- In `<unknown-file>':
{
Hour = 0;
Minute = 0;
}
```
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/launchd/launchd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index b1a2d39..32fa781 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -342,7 +342,7 @@ with lib; StartCalendarInterval = mkOption { default = null; - example = { Hour = 2; Minute = 30; }; + example = [{ Hour = 2; Minute = 30; }]; description = lib.mdDoc '' This optional key causes the job to be started every calendar interval as specified. Missing arguments are considered to be wildcard. The semantics are much like `crontab(5)`. Unlike cron which skips job |
