mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
27 lines
583 B
Nix
27 lines
583 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
imports = [ ../../accounts/email-test-accounts.nix ];
|
||
|
|
||
|
config = {
|
||
|
accounts.email.accounts = {
|
||
|
"hm@example.com".maildir = null;
|
||
|
hm-account.neomutt.enable = true;
|
||
|
};
|
||
|
|
||
|
programs.neomutt.enable = true;
|
||
|
|
||
|
nixpkgs.overlays =
|
||
|
[ (self: super: { neomutt = pkgs.writeScriptBin "dummy-neomutt" ""; }) ];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/neomutt/neomuttrc
|
||
|
assertFileContent home-files/.config/neomutt/neomuttrc ${
|
||
|
./neomutt-not-primary-expected.conf
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|