about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-05-14T10·51+0200
committerVincent Ambo <tazjin@gmail.com>2018-05-14T10·52+0200
commitbcd0f8aeb438fd0ba94dc8d8aaa2c0d479983a9d (patch)
treefdf7706a1c75c4ce854a9f0fe724ffd02925c49f
parent76101fe330f9b604dcc23c35a646aee2e478e478 (diff)
feat(config): Enable OfflineIMAP user service
-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