Skip to content

Vdirsyncer

services.vdirsyncer.enable

Whether to enable vdirsyncer. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs

vdirsyncer job configurations Type: attribute set of (submodule)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.additionalGroups

additional groups to add the dynamic user to Type: list of string

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.config.general

general configuration Type: attribute set

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.config.pairs

vdirsyncer pair configurations Type: attribute set of (attribute set)

Default

{ }

Example

{my_contacts = {a = "my_cloud_contacts";b = "my_local_contacts";collections = [ "from a" ];conflict_resolution = "a wins";metadata = [ "color" "displayname" ];};};

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.config.statusPath

vdirsyncer's status path Type: null or string

Default

/var/lib/vdirsyncer/${attrName}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.config.storages

vdirsyncer storage configurations Type: attribute set of (attribute set)

Default

{ }

Example

{my_cloud_contacts = {type = "carddav";url = "https://dav.example.com/";read_only = true;username = "user";"password.fetch" = [ "command" "cat" "/etc/vdirsyncer/cloud.passwd" ];};my_local_contacts = {type = "carddav";url = "https://localhost/";username = "user";"password.fetch" = [ "command" "cat" "/etc/vdirsyncer/local.passwd" ];};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.configFile

existing configuration file Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.enable

Whether to enable this vdirsyncer job. Type: boolean

Default

true

Example

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.forceDiscover

Run yes | vdirsyncer discover prior to vdirsyncer sync

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.group

group to run vdirsyncer as Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.timerConfig

systemd timer configuration Type: attribute set

Default

{OnBootSec = "1h";OnUnitActiveSec = "6h";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.jobs.<name>.user

User account to run vdirsyncer as, otherwise as a systemd dynamic user

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix

services.vdirsyncer.package

The vdirsyncer package to use. Type: package

Default

pkgs.vdirsyncer

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/vdirsyncer.nix