1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-04 18:29:45 +01:00

khal: improve module (#4088)

* khal: Do not hard code globbing.
This commit is contained in:
Daniel Siepmann 2023-06-16 11:10:24 +02:00 committed by GitHub
parent 4e09c83255
commit ea2f17615e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -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))