Merge pull request #111417 from helsinki-systems/ircd-hybrid

nixos/ircd-hybrid: add types
This commit is contained in:
Sandro 2021-01-31 15:02:07 +01:00 committed by GitHub
commit af78f11035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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.
";