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