mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 02:39:45 +01:00
parent
4e09c83255
commit
ea2f17615e
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,7 @@ with lib;
|
||||||
type = types.nullOr (types.enum [ "calendar" "discover" ]);
|
type = types.nullOr (types.enum [ "calendar" "discover" ]);
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
There is no description of this option.
|
Either a single calendar (calendar which is the default) or a directory with multiple calendars (discover).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ let
|
||||||
"path = ${
|
"path = ${
|
||||||
value.local.path + "/"
|
value.local.path + "/"
|
||||||
+ (optionalString (value.khal.type == "discover") value.khal.glob)
|
+ (optionalString (value.khal.type == "discover") value.khal.glob)
|
||||||
+ "/*"
|
|
||||||
}"
|
}"
|
||||||
] ++ optional (value.khal.readOnly) "readonly = True" ++ [
|
] ++ optional (value.khal.readOnly) "readonly = True" ++ [
|
||||||
(toKeyValueIfDefined (getAttrs [ "type" "color" "priority" ] value.khal))
|
(toKeyValueIfDefined (getAttrs [ "type" "color" "priority" ] value.khal))
|
||||||
|
|
Loading…
Reference in a new issue