mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-22 18:29:39 +01:00
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
This commit is contained in:
parent
613384a511
commit
40c57ce052
2 changed files with 9 additions and 6 deletions
|
|
@ -5,8 +5,8 @@ with lib;
|
|||
{
|
||||
options.khal = {
|
||||
type = mkOption {
|
||||
type = types.nullOr (types.enum [ "calendar" "discover" ]);
|
||||
default = null;
|
||||
type = types.enum [ "calendar" "discover" ];
|
||||
default = "calendar";
|
||||
description = ''
|
||||
Either a single calendar (calendar which is the default) or a directory with multiple calendars (discover).
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue