diff options
author | Naïm Favier <n@monade.li> | 2022-03-18 01:27:04 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-18 02:44:11 +0100 |
commit | ca8c877f8cd1f9b84e8aa57741aa5cd60a3a2ba3 (patch) | |
tree | 9908d4c8cd984dbdaf355c320382b51e92b47580 /nixos/tests/caddy.nix | |
parent | 79a234567c01399c5f1ae1d0b60ac84d12075b3b (diff) |
nixos/tests: fix some evaluation errors
Fixes errors caught by "nixos/testing: restrict arguments to makeTest" as well as some unrelated errors and warnings.
Diffstat (limited to 'nixos/tests/caddy.nix')
-rw-r--r-- | nixos/tests/caddy.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/caddy.nix b/nixos/tests/caddy.nix index 0902904b20860..16436ab52800e 100644 --- a/nixos/tests/caddy.nix +++ b/nixos/tests/caddy.nix @@ -7,7 +7,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { nodes = { webserver = { pkgs, lib, ... }: { services.caddy.enable = true; - services.caddy.config = '' + services.caddy.extraConfig = '' http://localhost { encode gzip @@ -22,7 +22,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { ''; specialisation.etag.configuration = { - services.caddy.config = lib.mkForce '' + services.caddy.extraConfig = lib.mkForce '' http://localhost { encode gzip @@ -38,7 +38,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { }; specialisation.config-reload.configuration = { - services.caddy.config = '' + services.caddy.extraConfig = '' http://localhost:8080 { } ''; |