4d19ca4703
GitOrigin-RevId: a7117efb3725e6197dd95424136f79147aa35e5b
24 lines
531 B
Nix
24 lines
531 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.khal = {
|
|
type = mkOption {
|
|
type = types.enum [ "calendar" "discover" ];
|
|
default = "calendar";
|
|
description = ''
|
|
Either a single calendar (calendar which is the default) or a directory with multiple calendars (discover).
|
|
'';
|
|
};
|
|
|
|
glob = mkOption {
|
|
type = types.str;
|
|
default = "*";
|
|
description = ''
|
|
The glob expansion to be searched for events or birthdays when
|
|
type is set to discover.
|
|
'';
|
|
};
|
|
};
|
|
}
|