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" = { 11msmtp . enable = true ; 12neomutt = { 13enable = true ; 14extraConfig = '' 15color status cyan default 16'' ; 17}; 18imap . port = 993 ; 19}; 20}; 21 22programs . neomutt . enable = true ; 23 24test . stubs . neomutt = { }; 25 26nmt . script = '' 27assertFileExists home-files/.config/neomutt/neomuttrc 28assertFileExists home-files/.config/neomutt/hm@example.com 29assertFileContent home-files/.config/neomutt/neomuttrc ${ 30./neomutt-expected.conf 31} 32assertFileContent home-files/.config/neomutt/hm@example.com ${ 33./hm-example.com-msmtp-expected.conf 34} 35'' ; 36}; 37}