nixos/quassel: add types (#111429)
This commit is contained in:
parent
4c181d179b
commit
821f19a975
|
@ -45,6 +45,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
interfaces = mkOption {
|
interfaces = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
default = [ "127.0.0.1" ];
|
default = [ "127.0.0.1" ];
|
||||||
description = ''
|
description = ''
|
||||||
The interfaces the Quassel daemon will be listening to. If `[ 127.0.0.1 ]',
|
The interfaces the Quassel daemon will be listening to. If `[ 127.0.0.1 ]',
|
||||||
|
@ -54,6 +55,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
portNumber = mkOption {
|
portNumber = mkOption {
|
||||||
|
type = types.port;
|
||||||
default = 4242;
|
default = 4242;
|
||||||
description = ''
|
description = ''
|
||||||
The port number the Quassel daemon will be listening to.
|
The port number the Quassel daemon will be listening to.
|
||||||
|
@ -62,6 +64,7 @@ in
|
||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
default = "/home/${user}/.config/quassel-irc.org";
|
default = "/home/${user}/.config/quassel-irc.org";
|
||||||
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
The directory holding configuration files, the SQlite database and the SSL Cert.
|
The directory holding configuration files, the SQlite database and the SSL Cert.
|
||||||
'';
|
'';
|
||||||
|
@ -69,6 +72,7 @@ in
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
|
type = types.nullOr types.str;
|
||||||
description = ''
|
description = ''
|
||||||
The existing user the Quassel daemon should run as. If left empty, a default "quassel" user will be created.
|
The existing user the Quassel daemon should run as. If left empty, a default "quassel" user will be created.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue