Skip to content

Commit

Permalink
[email] Enable local dovecot instance (it is used by gnus)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasendubi committed Mar 16, 2017
1 parent 1169b25 commit 902b013
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,18 @@ Enable firewall. This disables all ports and pings.
}
#+end_src

*** Dovecot
#+name: nixos-section
#+begin_src nix
{
services.dovecot2 = {
enable = true;
enablePop3 = false;
enableImap = true;
mailLocation = "maildir:/home/rasen/Mail:LAYOUT=fs";
};
}
#+end_src
** Environment
*** General
I definitely use X server:
Expand Down
8 changes: 8 additions & 0 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,14 @@
{
virtualisation.docker.enable = true;
}
{
services.dovecot2 = {
enable = true;
enablePop3 = false;
enableImap = true;
mailLocation = "maildir:/home/rasen/Mail:LAYOUT=fs";
};
}
{
services.xserver.enable = true;
}
Expand Down

0 comments on commit 902b013

Please sign in to comment.