Commit Graph

12 Commits

Author SHA1 Message Date
Ruben Maher
7b3e33c49c mail-server/networking.nix: make use of use lib.optional 2017-11-13 20:10:33 +10:30
Ruben Maher
5047c2982f default.nix: add options to open ports 993 (IMAPS) and 995 (POP3S)
Dovecot is already configured to serve IMAPS on port 993 and POP3S on port 995.
2017-11-13 20:10:30 +10:30
Robin Raymond
12f16b2239 remove hostname from config, it breaks tests 2017-09-21 10:59:56 +02:00
Robin Raymond
1e0c203bf8 Merge branch 'module-rewrite' 2017-09-03 15:31:37 +02:00
Robin Raymond
9ac491f87d networking to module 2017-09-02 14:58:33 +02:00
Robin Raymond
ebb2a5caf7 camelCase 2 2017-09-02 13:29:49 +02:00
Robin Raymond
b5fccc7e39 camelCase 2017-09-02 13:23:37 +02:00
Danylo Hlynskyi
c6e2de7180 don't enable firewall by default
It is default ON in NixOS and will conflict with `firewall.enable = false`, which some user may intentionally set.
In my opinion it is very high-level option to be set automatically.

Also, people who really don't want firewall, just do `lib.mkForce false` and won't even notice that this module requires it.
2017-08-31 14:42:14 +03:00
Silvan Mosberger
692a677194 make configuration a nixos module 2017-08-30 15:09:38 +02:00
Robin Raymond
ecd73f4e1c firewall respects settings 2017-08-13 14:20:02 +02:00
Robin Raymond
f3f30f2f24 add documentation 2017-08-12 16:41:43 +02:00
Robin Raymond
60574841c6 restructuring; now works with 17.03/17.09-pre
I had to remove some of the features, they need to be slowely added in
again.
2017-08-12 11:27:19 +02:00