mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
vdirsyncer: Add option to request vcard 4.0
This commit is contained in:
committed by
Matthieu Coudron
parent
96156a9e86
commit
3670a78eee
@@ -118,6 +118,15 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
useVcard4 = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Specifies whether vdirsyncer should request vCards in version 4.0.
|
||||
If set to `false` then vdirsyncer will default to version 3.0.
|
||||
'';
|
||||
};
|
||||
|
||||
verify = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
|
||||
@@ -101,6 +101,8 @@ let
|
||||
end_date = "${v.end}"''
|
||||
else if (n == "itemTypes") then
|
||||
"item_types = ${listString (map wrap v)}"
|
||||
else if (n == "useVcard4") then
|
||||
''use_vcard_4 = ${v}''
|
||||
else if (n == "userName") then
|
||||
''username = "${v}"''
|
||||
else if (n == "userNameCommand") then
|
||||
|
||||
Reference in New Issue
Block a user