nixos/tests/common/acme/server/default.nix: get rid of with lib
This commit is contained in:
parent
ba6bc92d5e
commit
334b168990
|
@ -76,9 +76,9 @@ let
|
||||||
in {
|
in {
|
||||||
imports = [ ../../resolver.nix ];
|
imports = [ ../../resolver.nix ];
|
||||||
|
|
||||||
options.test-support.acme = with lib; {
|
options.test-support.acme = {
|
||||||
caDomain = mkOption {
|
caDomain = lib.mkOption {
|
||||||
type = types.str;
|
type = lib.types.str;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = domain;
|
default = domain;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
|
@ -86,8 +86,8 @@ in {
|
||||||
identify the CA server.
|
identify the CA server.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
caCert = mkOption {
|
caCert = lib.mkOption {
|
||||||
type = types.path;
|
type = lib.types.path;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = testCerts.ca.cert;
|
default = testCerts.ca.cert;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
|
|
Loading…
Reference in a new issue