fork/home-manager
git clone https://git.julia.blue/fork/home-manager
408ba131
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6imports = [ ../../accounts/email-test-accounts.nix ]; 7 8config = { 9accounts . . accounts = { 10"hm@example.com" = { 11notmuch . enable = true ; 12neomutt = { 13enable = true ; 14extraConfig = '' 15color status cyan default 16'' ; 17}; 18imap . port = 143 ; 19smtp . tls . useStartTls = true ; 20}; 21}; 22 23programs . neomutt = { 24enable = true ; 25vimKeys = false ; 26}; 27 28test . stubs . neomutt = { }; 29 30nmt . script = '' 31assertFileExists home-files/.config/neomutt/neomuttrc 32assertFileExists home-files/.config/neomutt/hm@example.com 33assertFileContent home-files/.config/neomutt/neomuttrc ${ 34./neomutt-expected.conf 35} 36assertFileContent home-files/.config/neomutt/hm@example.com ${ 37./hm-example.com-starttls-expected 38} 39'' ; 40}; 41}