mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 18:23:44 +00:00
znc module: optionSet -> submodule (#20096)
This commit is contained in:
parent
5d6eaaa179
commit
7fd38dc8b3
@ -208,11 +208,10 @@ in
|
|||||||
|
|
||||||
networks = mkOption {
|
networks = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule networkOpts);
|
||||||
description = ''
|
description = ''
|
||||||
IRC networks to connect the user to.
|
IRC networks to connect the user to.
|
||||||
'';
|
'';
|
||||||
options = [ networkOpts ];
|
|
||||||
example = {
|
example = {
|
||||||
"freenode" = {
|
"freenode" = {
|
||||||
server = "chat.freenode.net";
|
server = "chat.freenode.net";
|
||||||
|
Loading…
Reference in New Issue
Block a user