fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
master
1{ config , lib , pkgs , ...} : 2with lib ; { 3imports = [ ../../accounts/email-test-accounts.nix ]; 4 5config = { 6accounts . . accounts = { 7"hm@example.com" = { 8gpg = { 9encryptByDefault = true ; 10signByDefault = true ; 11}; 12neomutt . enable = true ; 13imap . port = 993 ; 14}; 15}; 16 17programs . neomutt . enable = true ; 18 19test . stubs . neomutt = { }; 20 21nmt . script = '' 22assertFileExists home-files/.config/neomutt/neomuttrc 23assertFileExists home-files/.config/neomutt/hm@example.com 24assertFileContent home-files/.config/neomutt/neomuttrc ${ 25./neomutt-expected.conf 26} 27assertFileContent home-files/.config/neomutt/hm@example.com ${ 28./hm-example.com-gpg-expected.conf 29} 30'' ; 31}; 32}