mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-07 17:45:06 +00:00
neomutt: remove per-account empty lines
This commit is contained in:
parent
cb4ec90a4b
commit
0c118f8054
1 changed files with 9 additions and 9 deletions
|
@ -302,7 +302,8 @@ let
|
|||
"set signature = ${
|
||||
pkgs.writeText "signature.txt" account.signature.text
|
||||
}";
|
||||
in ''
|
||||
in concatStringsSep "\n" ([
|
||||
''
|
||||
# Generated by Home Manager.${
|
||||
optionalString cfg.unmailboxes ''
|
||||
|
||||
|
@ -325,11 +326,10 @@ let
|
|||
|
||||
# MTA section
|
||||
${optionsStr (mtaSection account)}
|
||||
|
||||
${optionalString (cfg.checkStatsInterval != null) mailCheckSection}
|
||||
|
||||
${optionalString cfg.sidebar.enable sidebarSection}
|
||||
|
||||
'']
|
||||
++ (lib.optional (cfg.checkStatsInterval != null) mailCheckSection)
|
||||
++ (lib.optional cfg.sidebar.enable sidebarSection)
|
||||
++ [ ''
|
||||
# MRA section
|
||||
${mraSection account}
|
||||
|
||||
|
@ -337,9 +337,9 @@ let
|
|||
${account.neomutt.extraConfig}
|
||||
|
||||
${signature}
|
||||
''
|
||||
+ optionalString (account.notmuch.enable && account.notmuch.neomutt.enable)
|
||||
(notmuchSection account);
|
||||
'' ]
|
||||
++ lib.optional (account.notmuch.enable && account.notmuch.neomutt.enable)
|
||||
(notmuchSection account));
|
||||
|
||||
in {
|
||||
options = {
|
||||
|
|
Loading…
Add table
Reference in a new issue