about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configuration.nix6
-rw-r--r--packages.nix1
2 files changed, 7 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 063acf96b0b6..08043924c1fd 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -52,6 +52,12 @@
   # Enable GNOME keyring (required for Evolution)
   services.gnome3.gnome-keyring.enable = true;
 
+  # Enable OfflineIMAP (configuration itself is user-data)
+  services.offlineimap = {
+    install = true;
+    path    = with pkgs; [ pass notmuch ];
+  };
+
   virtualisation = {
     # Configure Docker (with socket activation):
     # Side note: ... why is this in virtualisation? ...
diff --git a/packages.nix b/packages.nix
index 1c8c75ab35d9..58152704b2bb 100644
--- a/packages.nix
+++ b/packages.nix
@@ -97,6 +97,7 @@ in {
     mq-cli
     ngrok
     nixops
+    notmuch
     numix-cursor-theme
     numix-gtk-theme
     numix-icon-theme