1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

formatting

This commit is contained in:
Matthieu C. 2025-03-24 03:36:42 +01:00
parent 1480443a6b
commit bc71375217

View file

@ -302,8 +302,7 @@ let
"set signature = ${
pkgs.writeText "signature.txt" account.signature.text
}";
in concatStringsSep "\n" ([
''
in concatStringsSep "\n" ([''
# Generated by Home Manager.${
optionalString cfg.unmailboxes ''
@ -326,20 +325,18 @@ let
# MTA section
${optionsStr (mtaSection account)}
''] ++ (lib.optional (cfg.checkStatsInterval != null) mailCheckSection)
++ (lib.optional cfg.sidebar.enable sidebarSection) ++ [''
# MRA section
${mraSection account}
# Extra configuration
${account.neomutt.extraConfig}
${signature}
'']
++ (lib.optional (cfg.checkStatsInterval != null) mailCheckSection)
++ (lib.optional cfg.sidebar.enable sidebarSection)
++ [ ''
# MRA section
${mraSection account}
# Extra configuration
${account.neomutt.extraConfig}
${signature}
'' ]
++ lib.optional (account.notmuch.enable && account.notmuch.neomutt.enable)
(notmuchSection account));
++ lib.optional (account.notmuch.enable && account.notmuch.neomutt.enable)
(notmuchSection account));
in {
options = {