tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/resilio: use more accurate int types
h7x4
6 months ago
01629807
54f5ec23
+4
-4
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
resilio.nix
+4
-4
nixos/modules/services/networking/resilio.nix
reviewed
···
113
113
};
114
114
115
115
listeningPort = mkOption {
116
116
-
type = types.int;
116
116
+
type = types.port;
117
117
default = 0;
118
118
example = 44444;
119
119
description = ''
···
139
139
};
140
140
141
141
downloadLimit = mkOption {
142
142
-
type = types.int;
142
142
+
type = types.ints.unsigned;
143
143
default = 0;
144
144
example = 1024;
145
145
description = ''
···
148
148
};
149
149
150
150
uploadLimit = mkOption {
151
151
-
type = types.int;
151
151
+
type = types.ints.unsigned;
152
152
default = 0;
153
153
example = 1024;
154
154
description = ''
···
166
166
};
167
167
168
168
httpListenPort = mkOption {
169
169
-
type = types.int;
169
169
+
type = types.port;
170
170
default = 9000;
171
171
description = ''
172
172
HTTP port to bind on.