From 76a1fd22313ca5bcc13585df9c3438d803a8b09d Mon Sep 17 00:00:00 2001 From: Don Harper Date: Thu, 13 Jul 2023 21:50:58 -0500 Subject: [PATCH] home-manager | added khard --- home/default.nix | 1 + home/khard.nix | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 home/khard.nix diff --git a/home/default.nix b/home/default.nix index 6623684..32dfbc7 100644 --- a/home/default.nix +++ b/home/default.nix @@ -8,6 +8,7 @@ ./tmux.nix ./neovim.nix ./terminals.nix + ./khard.nix ]; home = { username = "don"; diff --git a/home/khard.nix b/home/khard.nix new file mode 100644 index 0000000..db35250 --- /dev/null +++ b/home/khard.nix @@ -0,0 +1,31 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ khard ]; + xdg.configFile."khard/khard.conf".text = '' + [addressbooks] + [[contacts]] + path = ~/.config/vdirsyncer/storage/contacts/default + + [general] + debug = no + default_action = list + editor = vim + merge_editor = vimdiff + + [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 + ''; +}