fork/home-manager
git clone https://git.julia.blue/fork/home-manager
ef4370be
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6imports = [ ../../accounts/email-test-accounts.nix ]; 7 8config = { 9accounts . . accounts = { 10"hm@example.com" = { 11getmail = { 12enable = true ; 13mailboxes = [ "INBOX" "Sent" "Work" ]; 14destinationCommand = "/bin/maildrop" ; 15delete = false ; 16}; 17imap . port = 993 ; 18}; 19}; 20 21nmt . script = '' 22assertFileExists home-files/.getmail/getmailrc 23assertFileContent home-files/.getmail/getmailrc ${ ./getmail-expected.conf } 24'' ; 25}; 26}