mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
programs.neomutt: Make manual configuration take precedence over generated settings (#1896)
This commit is contained in:
parent
f567ea8228
commit
91418d3e57
4 changed files with 20 additions and 20 deletions
|
@ -312,16 +312,16 @@ in {
|
||||||
${optionalString cfg.vimKeys
|
${optionalString cfg.vimKeys
|
||||||
"source ${pkgs.neomutt}/share/doc/neomutt/vim-keys/vim-keys.rc"}
|
"source ${pkgs.neomutt}/share/doc/neomutt/vim-keys/vim-keys.rc"}
|
||||||
|
|
||||||
# Extra configuration
|
|
||||||
${optionsStr cfg.settings}
|
|
||||||
|
|
||||||
${cfg.extraConfig}
|
|
||||||
|
|
||||||
# Register accounts
|
# Register accounts
|
||||||
${concatMapStringsSep "\n" registerAccount neomuttAccounts}
|
${concatMapStringsSep "\n" registerAccount neomuttAccounts}
|
||||||
|
|
||||||
# Source primary account
|
# Source primary account
|
||||||
source ${accountFilename primary}
|
source ${accountFilename primary}
|
||||||
|
|
||||||
|
# Extra configuration
|
||||||
|
${optionsStr cfg.settings}
|
||||||
|
|
||||||
|
${cfg.extraConfig}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,6 @@ set delete = yes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Extra configuration
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Register accounts
|
# Register accounts
|
||||||
# register account hm@example.com
|
# register account hm@example.com
|
||||||
mailboxes "/home/hm-user/Mail/hm@example.com/Inbox"
|
mailboxes "/home/hm-user/Mail/hm@example.com/Inbox"
|
||||||
|
@ -30,3 +25,8 @@ folder-hook /home/hm-user/Mail/hm@example.com/ " \
|
||||||
|
|
||||||
# Source primary account
|
# Source primary account
|
||||||
source /home/hm-user/.config/neomutt/hm@example.com
|
source /home/hm-user/.config/neomutt/hm@example.com
|
||||||
|
|
||||||
|
# Extra configuration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,6 @@ set delete = yes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Extra configuration
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Register accounts
|
# Register accounts
|
||||||
# register account hm-account
|
# register account hm-account
|
||||||
mailboxes "/home/hm-user/Mail/hm-account/Inbox"
|
mailboxes "/home/hm-user/Mail/hm-account/Inbox"
|
||||||
|
@ -30,3 +25,8 @@ folder-hook /home/hm-user/Mail/hm-account/ " \
|
||||||
|
|
||||||
# Source primary account
|
# Source primary account
|
||||||
source /home/hm-user/.config/neomutt/hm-account
|
source /home/hm-user/.config/neomutt/hm-account
|
||||||
|
|
||||||
|
# Extra configuration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@ macro index,pager c "<change-folder>?<change-dir><home>^K=<enter><tab>"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Extra configuration
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Register accounts
|
# Register accounts
|
||||||
# register account hm@example.com
|
# register account hm@example.com
|
||||||
mailboxes "/home/hm-user/Mail/hm@example.com/Inbox"
|
mailboxes "/home/hm-user/Mail/hm@example.com/Inbox"
|
||||||
|
@ -32,3 +27,8 @@ folder-hook /home/hm-user/Mail/hm@example.com/ " \
|
||||||
|
|
||||||
# Source primary account
|
# Source primary account
|
||||||
source /home/hm-user/.config/neomutt/hm@example.com
|
source /home/hm-user/.config/neomutt/hm@example.com
|
||||||
|
|
||||||
|
# Extra configuration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue