Remove useless use of undocumented submodules.

This commit is contained in:
Nicolas Pierron 2014-08-29 18:28:34 +02:00
parent 013aedffea
commit 43e52ef001

View File

@ -456,11 +456,7 @@ in
};
ratelimit = mkOption {
type = types.submodule (
{ options, ... }:
{ options = {
ratelimit = {
enable = mkOption {
type = types.bool;
default = false;
@ -522,22 +518,10 @@ in
IPv6 prefix length. Addresses are grouped by netblock.
'';
};
};
});
default = {
};
example = {};
description = ''
'';
};
remoteControl = mkOption {
type = types.submodule (
{ config, options, ... }:
{ options = {
remoteControl = {
enable = mkOption {
type = types.bool;
default = false;
@ -597,15 +581,6 @@ in
This file is used by nsd-control and generated by nsd-control-setup.
'';
};
};
});
default = {
};
example = {};
description = ''
'';
};