From 1239f26e8a771b4040e8ebd557de0738b4d7d24a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 6 Jun 2018 16:26:24 +0200 Subject: feat(mail): Import email configuration into Nix This moves my email configuration into NixOS, including the following features: 1. Replaced the NixOS-builtin offlineimap user service with a custom one that runs notmuch-indexing as part of the systemd unit instead of a postsynchook, which is significantly more reliable. 2. Adds configuration for notmuch and its tagging. 3. Adds configuration for OfflineIMAP & MSMTP. Relevant emacs configuration has also been added to my emacs.d repository. --- configuration.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index de8fcdd395ff..e4a9574292f2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,11 +7,12 @@ { imports = [ + ./desktop.nix + ./dotfiles.nix ./hardware-configuration.nix ./local-configuration.nix + ./mail.nix ./packages.nix - ./desktop.nix - ./dotfiles.nix ]; # Use the systemd-boot EFI boot loader. @@ -61,12 +62,6 @@ # 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? ... -- cgit 1.4.1