mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 02:39:45 +01:00
d579633ff9
* khal: fix contact integration - Add tests for contact+khal - Make options `color`/`priority` available for contact accounts * khal: add separate calendar for each contact collection A contact account may have multiple VCARD collections, but Khal doesn't search recursively. Collection folder names must be hardcoded, and each has its own calendar. - Add khal.collections option for contact accounts - Default to previous setup for accounts with a single collection - Add tests * khal: specify how priority is defined by Khal See https://khal.readthedocs.io/en/latest/configure.html
24 lines
540 B
Nix
24 lines
540 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.khal = {
|
|
type = mkOption {
|
|
type = types.nullOr (types.enum [ "calendar" "discover" ]);
|
|
default = null;
|
|
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.
|
|
'';
|
|
};
|
|
};
|
|
}
|