hosts: migrate to nilla
This commit is contained in:
parent
c523ebe44b
commit
ba23a8d7f5
19 changed files with 78 additions and 205 deletions
|
@ -14,14 +14,14 @@ let
|
|||
{
|
||||
options = {
|
||||
host = lib.options.create {
|
||||
type = lib.types.str;
|
||||
type = lib.types.string;
|
||||
};
|
||||
ports = lib.options.create {
|
||||
type = lib.types.list.of lib.types.port;
|
||||
default.value = [ ];
|
||||
};
|
||||
hosts = lib.options.create {
|
||||
type = lib.types.list.of lib.types.str;
|
||||
type = lib.types.list.of lib.types.string;
|
||||
default.value = [ config.host ];
|
||||
};
|
||||
module = lib.options.create {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue