diff --git a/modules/programs/khal-calendar-accounts.nix b/modules/programs/khal-calendar-accounts.nix index 40856ccab..6910d627a 100644 --- a/modules/programs/khal-calendar-accounts.nix +++ b/modules/programs/khal-calendar-accounts.nix @@ -8,7 +8,7 @@ with lib; type = types.nullOr (types.enum [ "calendar" "discover" ]); default = null; description = '' - There is no description of this option. + Either a single calendar (calendar which is the default) or a directory with multiple calendars (discover). ''; }; diff --git a/modules/programs/khal.nix b/modules/programs/khal.nix index b9ff170f6..555a3b805 100644 --- a/modules/programs/khal.nix +++ b/modules/programs/khal.nix @@ -29,7 +29,6 @@ let "path = ${ value.local.path + "/" + (optionalString (value.khal.type == "discover") value.khal.glob) - + "/*" }" ] ++ optional (value.khal.readOnly) "readonly = True" ++ [ (toKeyValueIfDefined (getAttrs [ "type" "color" "priority" ] value.khal))