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 . enable = true ; 13imap . port = 993 ; 14}; 15}; 16 17programs . neomutt . enable = true ; 18programs . neomutt . changeFolderWhenSourcingAccount = false ; 19 20test . stubs . neomutt = { }; 21 22nmt . script = '' 23assertFileExists home-files/.config/neomutt/hm@example.com 24assertFileContent home-files/.config/neomutt/hm@example.com ${ 25./hm-example.com-no-folder-change-expected.conf 26} 27'' ; 28}; 29}