nixos/bitlbee: Add types to options (#110446)

This commit is contained in:
Fritz Otlinghaus 2021-01-22 11:07:29 +01:00 committed by GitHub
parent bbaff89ceb
commit 800b90ea3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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