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:
parent
1480443a6b
commit
bc71375217
1 changed files with 12 additions and 15 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue