Skip to content

Uhub

services.uhub.<name>.enable

Whether to enable hub instance. Type: boolean

Default

true

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix

services.uhub.<name>.enableTLS

Whether to enable TLS support. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix

services.uhub.<name>.plugins

Uhub plugin configuration. Type: list of (submodule)

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix

services.uhub.<name>.plugins.*.plugin

Path to plugin file. Type: path

Example

$${pkgs.uhub}/plugins/mod_auth_sqlite.so

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix

services.uhub.<name>.plugins.*.settings

Settings specific to this plugin. Type: attribute set of string

Example

{file = "/etc/uhub/users.db";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix

services.uhub.<name>.settings

Configuration of uhub. See https://www.uhub.org/doc/config.php for a list of options.

Type: attribute set of (boolean or signed integer or string)

Default

{ }

Example

{hub_description = "Yet another ADC hub";hub_name = "My Public Hub";max_users = 150;server_bind_addr = "any";server_port = 1511;}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/uhub.nix