nixos/bitlbee: Add types to options (#110446)
This commit is contained in:
parent
bbaff89ceb
commit
800b90ea3f
@ -58,6 +58,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
interface = mkOption {
|
interface = mkOption {
|
||||||
|
type = types.str;
|
||||||
default = "127.0.0.1";
|
default = "127.0.0.1";
|
||||||
description = ''
|
description = ''
|
||||||
The interface the BitlBee deamon will be listening to. If `127.0.0.1',
|
The interface the BitlBee deamon will be listening to. If `127.0.0.1',
|
||||||
@ -68,6 +69,7 @@ in
|
|||||||
|
|
||||||
portNumber = mkOption {
|
portNumber = mkOption {
|
||||||
default = 6667;
|
default = 6667;
|
||||||
|
type = types.int;
|
||||||
description = ''
|
description = ''
|
||||||
Number of the port BitlBee will be listening to.
|
Number of the port BitlBee will be listening to.
|
||||||
'';
|
'';
|
||||||
@ -142,6 +144,7 @@ in
|
|||||||
|
|
||||||
extraSettings = mkOption {
|
extraSettings = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Will be inserted in the Settings section of the config file.
|
Will be inserted in the Settings section of the config file.
|
||||||
'';
|
'';
|
||||||
@ -149,6 +152,7 @@ in
|
|||||||
|
|
||||||
extraDefaults = mkOption {
|
extraDefaults = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Will be inserted in the Default section of the config file.
|
Will be inserted in the Default section of the config file.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user