lol

nixos/resilio: use more accurate int types

h7x4 01629807 54f5ec23

+4 -4
+4 -4
nixos/modules/services/networking/resilio.nix
··· 113 113 }; 114 114 115 115 listeningPort = mkOption { 116 - type = types.int; 116 + type = types.port; 117 117 default = 0; 118 118 example = 44444; 119 119 description = '' ··· 139 139 }; 140 140 141 141 downloadLimit = mkOption { 142 - type = types.int; 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 - type = types.int; 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 - type = types.int; 169 + type = types.port; 170 170 default = 9000; 171 171 description = '' 172 172 HTTP port to bind on.