about summary refs log tree commit diff
path: root/nixos/tests/ihatemoney
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-05-21 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-05-21 12:00:00 +0000
commit5a0577265e7c644603a42da0fe7f907b199d57e4 (patch)
tree395ae650cf77a82ea78a77c7bf5fc872b09d49ce /nixos/tests/ihatemoney
parent98bcd08cb1778d103bac1149621b3568014aadbd (diff)
nixos/tests/ihatemoney: fix test
ihm blocks on smtpd accepting the email
Diffstat (limited to 'nixos/tests/ihatemoney')
-rw-r--r--nixos/tests/ihatemoney/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/tests/ihatemoney/default.nix b/nixos/tests/ihatemoney/default.nix
index cd5f073343daa..894a97d43d35e 100644
--- a/nixos/tests/ihatemoney/default.nix
+++ b/nixos/tests/ihatemoney/default.nix
@@ -32,14 +32,7 @@ let
         };
       };
       # ihatemoney needs a local smtp server otherwise project creation just crashes
-      services.opensmtpd = {
-        enable = true;
-        serverConfiguration = ''
-          listen on lo
-          action foo relay
-          match from any for any action foo
-        '';
-      };
+      services.postfix.enable = true;
     };
     testScript = ''
       machine.wait_for_open_port(8000)