mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 05:39:05 +08:00
fix
This commit is contained in:
parent
f5ff5c3a9e
commit
544b071081
@ -5,7 +5,7 @@ inputs:
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
certs = mkOption
|
||||
{
|
||||
type = types.listOf types.oneOf [ types.nonEmptyStr (types.listOf types.nonEmptyStr) ];
|
||||
type = types.listOf (types.oneOf [ types.nonEmptyStr (types.listOf types.nonEmptyStr) ]);
|
||||
default = [];
|
||||
};
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ inputs:
|
||||
port = mkOption { type = types.ints.unsigned; default = 3389; };
|
||||
hostname = mkOption
|
||||
{
|
||||
type = types.nullOr types.oneOf [ types.nonEmptyStr (types.listOf types.nonEmptyStr) ];
|
||||
type = types.nullOr (types.oneOf [ types.nonEmptyStr (types.listOf types.nonEmptyStr) ]);
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user