fork/home-manager
git clone https://git.julia.blue/fork/home-manager
f8b51be7
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 = 993 ; 19signature = { 20showSignature = "append" ; 21text = '' 22-- 23Test Signature 24'' ; 25}; 26}; 27}; 28 29programs . neomutt = { 30enable = true ; 31vimKeys = false ; 32}; 33 34test . stubs . neomutt = { }; 35 36nmt . script = '' 37assertFileExists home-files/.config/neomutt/neomuttrc 38assertFileExists home-files/.config/neomutt/hm@example.com 39assertFileContent home-files/.config/neomutt/neomuttrc ${ 40./neomutt-expected.conf 41} 42expectedSignature = $( normalizeStorePaths "home-files/.config/neomutt/hm@example.com" ) 43assertFileContent " $ expectedSignature " ${ 44./hm-example.com-signature-expected 45} 46'' ; 47}; 48}