forked from mirrors/nixpkgs
nixos/ircd-hybrid: add types
This commit is contained in:
parent
4015c5ca9c
commit
adacfb44cc
|
@ -40,6 +40,7 @@ in
|
|||
|
||||
serverName = mkOption {
|
||||
default = "hades.arpa";
|
||||
type = types.str;
|
||||
description = "
|
||||
IRCD server name.
|
||||
";
|
||||
|
@ -47,6 +48,7 @@ in
|
|||
|
||||
sid = mkOption {
|
||||
default = "0NL";
|
||||
type = types.str;
|
||||
description = "
|
||||
IRCD server unique ID in a net of servers.
|
||||
";
|
||||
|
@ -54,6 +56,7 @@ in
|
|||
|
||||
description = mkOption {
|
||||
default = "Hybrid-7 IRC server.";
|
||||
type = types.str;
|
||||
description = "
|
||||
IRCD server description.
|
||||
";
|
||||
|
@ -62,6 +65,7 @@ in
|
|||
rsaKey = mkOption {
|
||||
default = null;
|
||||
example = literalExample "/root/certificates/irc.key";
|
||||
type = types.nullOr types.path;
|
||||
description = "
|
||||
IRCD server RSA key.
|
||||
";
|
||||
|
@ -70,6 +74,7 @@ in
|
|||
certificate = mkOption {
|
||||
default = null;
|
||||
example = literalExample "/root/certificates/irc.pem";
|
||||
type = types.nullOr types.path;
|
||||
description = "
|
||||
IRCD server SSL certificate. There are some limitations - read manual.
|
||||
";
|
||||
|
@ -77,6 +82,7 @@ in
|
|||
|
||||
adminEmail = mkOption {
|
||||
default = "<bit-bucket@example.com>";
|
||||
type = types.str;
|
||||
example = "<name@domain.tld>";
|
||||
description = "
|
||||
IRCD server administrator e-mail.
|
||||
|
@ -86,6 +92,7 @@ in
|
|||
extraIPs = mkOption {
|
||||
default = [];
|
||||
example = ["127.0.0.1"];
|
||||
type = types.listOf types.str;
|
||||
description = "
|
||||
Extra IP's to bind.
|
||||
";
|
||||
|
@ -93,6 +100,7 @@ in
|
|||
|
||||
extraPort = mkOption {
|
||||
default = "7117";
|
||||
type = types.str;
|
||||
description = "
|
||||
Extra port to avoid filtering.
|
||||
";
|
||||
|
|
Loading…
Reference in a new issue