git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/bitlbee: Add types to options (#110446)
commit800b90ea3f9def46eb94dbecfafdb7030b270c00 authorFritz Otlinghaus <fritz@otlinghaus.it> dateFri 22 Jan 2021, 11:07 (6 years ago) parentbbaff89
1 file changed+4
nixos/modules/services/networking/bitlbee.nix+4
nixos/modules/services/networking/bitlbee.nix+4
@@ -58,6 +58,7 @@ in
5858 };
5959
6060 interface = mkOption {
61+ type = types.str;
6162 default = "127.0.0.1";
6263 description = ''
6364 The interface the BitlBee deamon will be listening to. If `127.0.0.1',
@@ -68,6 +69,7 @@ in
6869
6970 portNumber = mkOption {
7071 default = 6667;
72+ type = types.int;
7173 description = ''
7274 Number of the port BitlBee will be listening to.
7375 '';
@@ -142,6 +144,7 @@ in
142144
143145 extraSettings = mkOption {
144146 default = "";
147+ type = types.lines;
145148 description = ''
146149 Will be inserted in the Settings section of the config file.
147150 '';
@@ -149,6 +152,7 @@ in
149152
150153 extraDefaults = mkOption {
151154 default = "";
155+ type = types.lines;
152156 description = ''
153157 Will be inserted in the Default section of the config file.
154158 '';