fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
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 ; 19}; 20}; 21 22programs . neomutt = { 23enable = true ; 24vimKeys = false ; 25}; 26 27test . stubs . neomutt = { }; 28 29nmt . script = '' 30assertFileExists home-files/.config/neomutt/neomuttrc 31assertFileExists home-files/.config/neomutt/hm@example.com 32assertFileContent home-files/.config/neomutt/neomuttrc ${ 33./neomutt-expected.conf 34} 35assertFileContent home-files/.config/neomutt/hm@example.com ${ 36./hm-example.com-expected 37} 38'' ; 39}; 40}