summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 13:46:29 +0100
committerGitHub <noreply@github.com>2021-01-31 13:46:29 +0100
commit821f19a9751d008ed932474d0ff5a1e45b2797e4 (patch)
tree698090d9ca9a33e6b8137e3eed5760ffb0d14171
parent4c181d179b765d4bfdeb66652f7b2737920bc2f4 (diff)
nixos/quassel: add types (#111429)
-rw-r--r--nixos/modules/services/networking/quassel.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/quassel.nix b/nixos/modules/services/networking/quassel.nix
index 2958fb9a8b33..bfbd3b46ab4d 100644
--- a/nixos/modules/services/networking/quassel.nix
+++ b/nixos/modules/services/networking/quassel.nix
@@ -45,6 +45,7 @@ in
};
interfaces = mkOption {
+ type = types.listOf types.str;
default = [ "127.0.0.1" ];
description = ''
The interfaces the Quassel daemon will be listening to. If `[ 127.0.0.1 ]',
@@ -54,6 +55,7 @@ in
};
portNumber = mkOption {
+ type = types.port;
default = 4242;
description = ''
The port number the Quassel daemon will be listening to.
@@ -62,6 +64,7 @@ in
dataDir = mkOption {
default = "/home/${user}/.config/quassel-irc.org";
+ type = types.str;
description = ''
The directory holding configuration files, the SQlite database and the SSL Cert.
'';
@@ -69,6 +72,7 @@ in
user = mkOption {
default = null;
+ type = types.nullOr types.str;
description = ''
The existing user the Quassel daemon should run as. If left empty, a default "quassel" user will be created.
'';