diff options
Diffstat (limited to 'modules/communication/neomutt/sync')
| -rw-r--r-- | modules/communication/neomutt/sync/default.nix | 1 | ||||
| -rw-r--r-- | modules/communication/neomutt/sync/mbsync.nix | 5 | ||||
| -rw-r--r-- | modules/communication/neomutt/sync/notmuch.nix | 5 |
3 files changed, 2 insertions, 9 deletions
diff --git a/modules/communication/neomutt/sync/default.nix b/modules/communication/neomutt/sync/default.nix index 765b22a..2fcaa18 100644 --- a/modules/communication/neomutt/sync/default.nix +++ b/modules/communication/neomutt/sync/default.nix @@ -1,6 +1,5 @@ # Sync - Mail synchronization modules (mbsync, notmuch) { ... }: - { imports = [ ./mbsync.nix diff --git a/modules/communication/neomutt/sync/mbsync.nix b/modules/communication/neomutt/sync/mbsync.nix index 71a98a0..7642099 100644 --- a/modules/communication/neomutt/sync/mbsync.nix +++ b/modules/communication/neomutt/sync/mbsync.nix @@ -1,10 +1,7 @@ # Mbsync - Mailbox synchronization (isync/mbsync) { config, lib, ... }: - -with lib; - { - config = mkIf config.communication.neomutt.enable { + config = lib.mkIf config.communication.neomutt.enable { programs.mbsync.enable = true; }; } diff --git a/modules/communication/neomutt/sync/notmuch.nix b/modules/communication/neomutt/sync/notmuch.nix index 75f4c32..277b232 100644 --- a/modules/communication/neomutt/sync/notmuch.nix +++ b/modules/communication/neomutt/sync/notmuch.nix @@ -1,10 +1,7 @@ # Notmuch - Mail indexer for fast email search { config, lib, ... }: - -with lib; - { - config = mkIf config.communication.neomutt.enable { + config = lib.mkIf config.communication.neomutt.enable { programs.notmuch.enable = true; }; } |
