summary refs log tree commit diff
path: root/nixos/tests/common/acme/server/default.nix
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-30 11:26:15 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-05-12 22:29:27 -0300
commit334b168990a27099ae0a42bc3b9fe6b88c146adc (patch)
tree7b0bf669e65b54de579ac09db84982b84bec83c7 /nixos/tests/common/acme/server/default.nix
parentba6bc92d5edeb9cc8055bb43e767dcb84a6d9f37 (diff)
downloadnixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar.gz
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar.bz2
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar.lz
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar.xz
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.tar.zst
nixpkgs-334b168990a27099ae0a42bc3b9fe6b88c146adc.zip
nixos/tests/common/acme/server/default.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/common/acme/server/default.nix')
-rw-r--r--nixos/tests/common/acme/server/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix
index b81f860125c..2a2e3b08a1d 100644
--- a/nixos/tests/common/acme/server/default.nix
+++ b/nixos/tests/common/acme/server/default.nix
@@ -76,9 +76,9 @@ let
 in {
   imports = [ ../../resolver.nix ];
 
-  options.test-support.acme = with lib; {
-    caDomain = mkOption {
-      type = types.str;
+  options.test-support.acme = {
+    caDomain = lib.mkOption {
+      type = lib.types.str;
       readOnly = true;
       default = domain;
       description = lib.mdDoc ''
@@ -86,8 +86,8 @@ in {
         identify the CA server.
       '';
     };
-    caCert = mkOption {
-      type = types.path;
+    caCert = lib.mkOption {
+      type = lib.types.path;
       readOnly = true;
       default = testCerts.ca.cert;
       description = lib.mdDoc ''