summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-31 15:02:07 +0100
committerGitHub <noreply@github.com>2021-01-31 15:02:07 +0100
commitaf78f1103549e3c2dd4048a47c052790b08479a1 (patch)
tree0ce80bd6dd89dfc628c25a29ff133b553d8e4f63
parent96a2e56d2b32e99fc6ba164bd0fb5bcedcf2c678 (diff)
parentadacfb44cc7bc5529c0221d05004f79b2749de92 (diff)
Merge pull request #111417 from helsinki-systems/ircd-hybrid
nixos/ircd-hybrid: add types
-rw-r--r--nixos/modules/services/networking/ircd-hybrid/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ircd-hybrid/default.nix b/nixos/modules/services/networking/ircd-hybrid/default.nix
index 91d0bf437d69..0781159b6ee7 100644
--- a/nixos/modules/services/networking/ircd-hybrid/default.nix
+++ b/nixos/modules/services/networking/ircd-hybrid/default.nix
@@ -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.
";