fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . abook = { 8enable = true ; 9 10extraConfig = '' 11# Defining a new custom field 12# ----------------------------- 13 14field pager = Pager 15field address_lines = Address, list 16field birthday = Birthday, date 17 18# Defining a view/tab 19# --------------------- 20 21view CONTACT = name, email 22view ADDRESS = address_lines, city, state, zip, country 23view PHONE = phone, workphone, pager, mobile, fax 24view OTHER = url, birthday 25 26# Automatically save database on exit 27set autosave=true 28'' ; 29}; 30 31test . stubs . abook = { }; 32 33nmt . script = '' 34assertFileExists home-files/.config/abook/abookrc 35assertFileContent home-files/.config/abook/abookrc ${ ./with-settings.cfg } 36'' ; 37}; 38}