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