From f048b55f991b558ffc845b8728ba7074a58a6f2e Mon Sep 17 00:00:00 2001 From: devhell Date: Tue, 2 Jul 2019 13:30:10 +0100 Subject: {machines,modules}/devhell: Split offlineimap I can't keep `offlineimap` as a service that applies to all, simply because `gunnr` will never be able access IMAP from its network. There's therefore little point in having it try to connect. So, instead I've moved the service to all machines that are expected to be able to access emails. --- machines/devhell/eir.nix | 5 +++++ machines/devhell/hildr.nix | 5 +++++ machines/devhell/sigrun.nix | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'machines') diff --git a/machines/devhell/eir.nix b/machines/devhell/eir.nix index 6d30db58..3697a3a2 100644 --- a/machines/devhell/eir.nix +++ b/machines/devhell/eir.nix @@ -90,6 +90,11 @@ enable = true; drivers = [ pkgs.foo2zjs pkgs.hplip pkgs.cups-brother-hl1110 ]; }; + offlineimap = { + enable = true; + install = true; + path = [ pkgs.notmuch ]; + }; }; services.udev = { diff --git a/machines/devhell/hildr.nix b/machines/devhell/hildr.nix index 7df900c9..431dfd94 100644 --- a/machines/devhell/hildr.nix +++ b/machines/devhell/hildr.nix @@ -94,6 +94,11 @@ enable = true; drivers = [ pkgs.foo2zjs pkgs.cups-brother-hl1110 ]; }; + offlineimap = { + enable = true; + install = true; + path = [ pkgs.notmuch ]; + }; }; services.acpid = { diff --git a/machines/devhell/sigrun.nix b/machines/devhell/sigrun.nix index a8ff35a9..96b55197 100644 --- a/machines/devhell/sigrun.nix +++ b/machines/devhell/sigrun.nix @@ -95,6 +95,11 @@ timesyncd.enable = true; resolved.enable = true; canto-daemon.enable = true; + offlineimap = { + enable = true; + install = true; + path = [ pkgs.notmuch ]; + }; }; services.xserver = { -- cgit 1.4.1