diff options
Diffstat (limited to 'modules/communication/neomutt/sync')
| -rw-r--r-- | modules/communication/neomutt/sync/default.nix | 8 | ||||
| -rw-r--r-- | modules/communication/neomutt/sync/mbsync.nix | 9 | ||||
| -rw-r--r-- | modules/communication/neomutt/sync/notmuch.nix | 9 |
3 files changed, 26 insertions, 0 deletions
diff --git a/modules/communication/neomutt/sync/default.nix b/modules/communication/neomutt/sync/default.nix new file mode 100644 index 0000000..3fd9362 --- /dev/null +++ b/modules/communication/neomutt/sync/default.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + imports = [ + ./mbsync.nix + ./notmuch.nix + ]; +} diff --git a/modules/communication/neomutt/sync/mbsync.nix b/modules/communication/neomutt/sync/mbsync.nix new file mode 100644 index 0000000..6d5ad86 --- /dev/null +++ b/modules/communication/neomutt/sync/mbsync.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: + +with lib; + +{ + config = 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 new file mode 100644 index 0000000..9679bf4 --- /dev/null +++ b/modules/communication/neomutt/sync/notmuch.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: + +with lib; + +{ + config = mkIf config.communication.neomutt.enable { + programs.notmuch.enable = true; + }; +} |
