about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-03-18 00:14:27 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-03-18 00:17:13 +0100
commit6b857eebbafba660cc57b19bd11f6484c91f8fd7 (patch)
tree3432dce53097598149cc64087d908ad35e038437 /machines
parentbdb1643acdb75d92f10559be06ea9448461ddf12 (diff)
Integrate Postfix config into module-list.nix.
This currently is just a dummy module for now with a big fat TODO, but
at least we now have a homogenous module namespace starting with
"labernix." and categorized by services/config/tasks/whatnot.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r--machines/mailserver.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/machines/mailserver.nix b/machines/mailserver.nix
index 86f6edac..7d4bd397 100644
--- a/machines/mailserver.nix
+++ b/machines/mailserver.nix
@@ -35,10 +35,7 @@
   ''}";
 
 in {
-  imports = [
-    ../common.nix
-    ../modules/postfix/restrictions.nix # XXX: Refactor and remove!
-  ];
+  imports = [ ../common.nix ];
 
   services.spamassassin.enable = true;
 
@@ -49,7 +46,7 @@ in {
   fileSystems."/".label = "root";
   boot.loader.grub.device = "nodev";
 
-  openlab.postfix.restrictions = {
+  labernix.postfix.restrictions = {
     sender = [
       "reject_authenticated_sender_login_mismatch"
       "reject_unknown_sender_domain"