summary refs log tree commit diff
path: root/nixos/tests/acme.nix
diff options
context:
space:
mode:
authorLucas Savva <lucas@m1cr0man.com>2020-12-14 19:40:28 +0000
committerLucas Savva <lucas@m1cr0man.com>2020-12-28 00:35:46 +0000
commitbfe07e21795685d023b0595d9305071f30e3d448 (patch)
treeb614af28da5e620b0a898099644f37a499373cbd /nixos/tests/acme.nix
parente5913db0c946b0d3408fc902858cdc2a26f7ad36 (diff)
downloadnixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar.gz
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar.bz2
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar.lz
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar.xz
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.tar.zst
nixpkgs-bfe07e21795685d023b0595d9305071f30e3d448.zip
nixos/acme: fix test config
Diffstat (limited to 'nixos/tests/acme.nix')
-rw-r--r--nixos/tests/acme.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix
index 503d77f24f9..c6d393d9196 100644
--- a/nixos/tests/acme.nix
+++ b/nixos/tests/acme.nix
@@ -87,8 +87,8 @@ in import ./make-test-python.nix ({ lib, ... }: {
         '';
       in {
         security.acme.email = lib.mkForce email;
-        systemd.services."b.example.test".serviceConfig.preStart = testScript;
-        systemd.services."c.example.test".serviceConfig.preStart = testScript;
+        systemd.services."b.example.test".preStart = testScript;
+        systemd.services."c.example.test".preStart = testScript;
 
         services.nginx.virtualHosts."b.example.test" = (vhostBase pkgs) // {
           enableACME = true;