1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

vdirsyncer: Add option to request vcard 4.0

This commit is contained in:
Tobias Schmalz 2025-09-25 17:10:59 +02:00 committed by Matthieu Coudron
parent 96156a9e86
commit 3670a78eee
2 changed files with 11 additions and 0 deletions

View file

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

View file

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