lol

nixos/hostapd: use more accurate int types

h7x4 54f5ec23 bda8f779

+3 -3
+3 -3
nixos/modules/services/networking/hostapd.nix
··· 274 274 channel = mkOption { 275 275 default = 0; 276 276 example = 11; 277 - type = types.int; 277 + type = types.ints.positive; 278 278 description = '' 279 279 The channel to operate on. Use 0 to enable ACS (Automatic Channel Selection). 280 280 Beware that not every device supports ACS in which case {command}`hostapd` ··· 571 571 options = { 572 572 logLevel = mkOption { 573 573 default = 2; 574 - type = types.int; 574 + type = types.ints.between 0 4; 575 575 description = '' 576 576 Levels (minimum value for logged events): 577 577 0 = verbose debugging ··· 957 957 vlanid = mkOption { 958 958 default = null; 959 959 example = 1; 960 - type = types.nullOr types.int; 960 + type = types.nullOr types.ints.unsigned; 961 961 description = "If this attribute is given, all clients using this entry will get tagged with the given VLAN ID."; 962 962 }; 963 963