mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
Remove useless use of undocumented submodules.
This commit is contained in:
parent
013aedffea
commit
43e52ef001
@ -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 = ''
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user