From 691f034f9dbef8f58ac467099794d860315f6a28 Mon Sep 17 00:00:00 2001
From: Robin Raymond <robin@robinraymond.de>
Date: Sat, 2 Sep 2017 12:58:25 +0200
Subject: [PATCH] update nixops for module config

---
 nixops/single-server.nix | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/nixops/single-server.nix b/nixops/single-server.nix
index a6aa831..a96da0b 100644
--- a/nixops/single-server.nix
+++ b/nixops/single-server.nix
@@ -5,7 +5,12 @@
     { config, pkgs, ... }:
     {
         imports = [
-            ./../mail-config.nix
+            ./../default.nix
         ];
+
+        mailserver = {
+          enable = true;
+          domain = "example.com";
+        };
     };
 }