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