mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
Reduce maintenance burden and increase efficiency by automatically importing modules following a specific convention. Co-authored-by: awwpotato <awwpotato@voidq.com> Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
24 lines
549 B
Nix
24 lines
549 B
Nix
{ lib, ... }:
|
|
{
|
|
options.khal = {
|
|
type = lib.mkOption {
|
|
type = lib.types.enum [
|
|
"calendar"
|
|
"discover"
|
|
];
|
|
default = "calendar";
|
|
description = ''
|
|
Either a single calendar (calendar which is the default) or a directory with multiple calendars (discover).
|
|
'';
|
|
};
|
|
|
|
glob = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "*";
|
|
description = ''
|
|
The glob expansion to be searched for events or birthdays when
|
|
type is set to discover.
|
|
'';
|
|
};
|
|
};
|
|
}
|