1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 23:19:47 +01:00
home-manager/modules/programs/khal-calendar-accounts.nix
7FM 40c57ce052
programs.khal: Simplify calendar setup (#5073)
* programs.khal: fix build failure due to null value

* calendar: allow null value for primaryCollection

* calendar / programs.khal: set default values to avoid common errors
2024-03-06 14:09:53 +01:00

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.
'';
};
};
}