35 lines
997 B
Nix
35 lines
997 B
Nix
{ config, pkgs, ... }: {
|
|
programs.khard = {
|
|
enable = true;
|
|
settings = {
|
|
general = {
|
|
default_action = "list";
|
|
editor = "${pkgs.neovim}/bin/nvim";
|
|
merge_editor = [ "${pkgs.neovim}/bin/nvim" "-d" ];
|
|
};
|
|
"contact table" = {
|
|
display = "first_name";
|
|
group_by_addressbook = "no";
|
|
reverse = "no";
|
|
show_nicknames = "no";
|
|
show_uids = "no";
|
|
sort = "last_name";
|
|
localize_dates = "yes";
|
|
preferred_phone_number_type = [ "pref" "cell" "home" ];
|
|
preferred_email_address_type = [ "pref" "work" "home" ];
|
|
};
|
|
vcard = {
|
|
private_objects = [ "Jabber" "Skype" "Twitter" "Mastodon" ];
|
|
preferred_version = "3.0";
|
|
search_in_source_files = "no";
|
|
skip_unparsable = "no";
|
|
};
|
|
};
|
|
};
|
|
accounts.contact.accounts = {
|
|
contacts = {
|
|
khard.enable = true;
|
|
local.path = "/home/don/.config/vdirsyncer/storage/contacts/default";
|
|
};
|
|
};
|
|
}
|