summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-28 16:32:50 +0100
committerGitHub <noreply@github.com>2019-11-28 16:32:50 +0100
commit4e8c2f08b01486f2de0c7eb2468932e94b28030c (patch)
tree42e983537e7057c02fd6bd93d4641304d726dd8d /nixos/tests
parentf46417d436d33910fb23dc3dfe158d132802b66c (diff)
parentdd87e9eb4da1e34df575eb546122809620d05aec (diff)
downloadnixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar.gz
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar.bz2
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar.lz
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar.xz
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.tar.zst
nixpkgs-4e8c2f08b01486f2de0c7eb2468932e94b28030c.zip
Merge pull request #74048 from ckauhaus/ssmtp-named-ssmtp
ssmtp: use services.ssmtp not networking.defaultMailServer
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/mailcatcher.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/mailcatcher.nix b/nixos/tests/mailcatcher.nix
index d45b5d4edfc..eb5b606ecc8 100644
--- a/nixos/tests/mailcatcher.nix
+++ b/nixos/tests/mailcatcher.nix
@@ -9,8 +9,8 @@ import ./make-test.nix ({ lib, ... }:
     {
       services.mailcatcher.enable = true;
 
-      networking.defaultMailServer.directDelivery = true;
-      networking.defaultMailServer.hostName = "localhost:1025";
+      services.ssmtp.enable = true;
+      services.ssmtp.hostName = "localhost:1025";
 
       environment.systemPackages = [ pkgs.mailutils ];
     };