nixos/home/accounts/contact.nix

28 lines
650 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
accounts.contact = {
basePath = ".contact";
accounts = {
nextcloud = {
local = {
type = "filesystem";
fileExt = ".vcf";
};
remote = {
inherit (config.accounts.calendar.accounts.nextcloud.remote)
userName passwordCommand;
type = "carddav";
url =
"https://cloud.xenia.me.uk/remote.php/dav/addressbooks/users/xenia/contacts-1/";
};
vdirsyncer = {
enable = true;
collections = [ "from a" ];
metadata = [ "color" "displayname" ];
};
};
};
};
}