Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Some more type cleanup

+33 -33
+1 -1
nixos/modules/config/shells-environment.nix
··· 63 63 description = '' 64 64 A list of profiles used to setup the global environment. 65 65 ''; 66 - type = types.listOf types.string; 66 + type = types.listOf types.str; 67 67 }; 68 68 69 69 environment.profileRelativeEnvVars = mkOption {
+1 -1
nixos/modules/misc/assertions.nix
··· 21 21 warnings = mkOption { 22 22 internal = true; 23 23 default = []; 24 - type = types.listOf types.string; 24 + type = types.listOf types.str; 25 25 example = [ "The `foo' service is deprecated and will go away soon!" ]; 26 26 description = '' 27 27 This option allows modules to show warnings to users during
+2 -2
nixos/modules/programs/ssh.nix
··· 27 27 programs.ssh = { 28 28 29 29 askPassword = mkOption { 30 - type = types.string; 30 + type = types.str; 31 31 default = "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass"; 32 32 description = ''Program used by SSH to ask for passwords.''; 33 33 }; ··· 77 77 }; 78 78 79 79 agentTimeout = mkOption { 80 - type = types.nullOr types.string; 80 + type = types.nullOr types.str; 81 81 default = null; 82 82 example = "1h"; 83 83 description = ''
+1 -1
nixos/modules/security/ca.nix
··· 33 33 }; 34 34 35 35 security.pki.certificates = mkOption { 36 - type = types.listOf types.string; 36 + type = types.listOf types.str; 37 37 default = []; 38 38 example = singleton '' 39 39 NixOS.org
+1 -1
nixos/modules/services/logging/logcheck.nix
··· 192 192 193 193 extraGroups = mkOption { 194 194 default = []; 195 - type = types.listOf types.string; 195 + type = types.listOf types.str; 196 196 example = [ "postdrop" "mongodb" ]; 197 197 description = '' 198 198 Extra groups for the logcheck user, for example to be able to use sendmail,
+1 -1
nixos/modules/services/logging/rsyslogd.nix
··· 66 66 }; 67 67 68 68 extraParams = mkOption { 69 - type = types.listOf types.string; 69 + type = types.listOf types.str; 70 70 default = [ ]; 71 71 example = [ "-m 0" ]; 72 72 description = ''
+1 -1
nixos/modules/services/logging/syslogd.nix
··· 83 83 }; 84 84 85 85 extraParams = mkOption { 86 - type = types.listOf types.string; 86 + type = types.listOf types.str; 87 87 default = [ ]; 88 88 example = [ "-m 0" ]; 89 89 description = ''
+1 -1
nixos/modules/services/mail/opensmtpd.nix
··· 24 24 }; 25 25 26 26 extraServerArgs = mkOption { 27 - type = types.listOf types.string; 27 + type = types.listOf types.str; 28 28 default = []; 29 29 example = [ "-v" "-P mta" ]; 30 30 description = ''
+1 -1
nixos/modules/services/misc/apache-kafka.nix
··· 108 108 "-Djava.awt.headless=true" 109 109 "-Djava.net.preferIPv4Stack=true" 110 110 ]; 111 - type = types.listOf types.string; 111 + type = types.listOf types.str; 112 112 example = [ 113 113 "-Djava.net.preferIPv4Stack=true" 114 114 "-Dcom.sun.management.jmxremote"
+1 -1
nixos/modules/services/misc/mesos-master.nix
··· 45 45 See https://mesos.apache.org/documentation/latest/configuration/ 46 46 ''; 47 47 default = [ "" ]; 48 - type = types.listOf types.string; 48 + type = types.listOf types.str; 49 49 example = [ "--credentials=VALUE" ]; 50 50 }; 51 51
+1 -1
nixos/modules/services/misc/mesos-slave.nix
··· 70 70 See https://mesos.apache.org/documentation/latest/configuration/ 71 71 ''; 72 72 default = [ "" ]; 73 - type = types.listOf types.string; 73 + type = types.listOf types.str; 74 74 example = [ "--gc_delay=3days" ]; 75 75 }; 76 76
+1 -1
nixos/modules/services/misc/zookeeper.nix
··· 94 94 extraCmdLineOptions = mkOption { 95 95 description = "Extra command line options for the Zookeeper launcher."; 96 96 default = [ "-Dcom.sun.management.jmxremote" "-Dcom.sun.management.jmxremote.local.only=true" ]; 97 - type = types.listOf types.string; 97 + type = types.listOf types.str; 98 98 example = [ "-Djava.net.preferIPv4Stack=true" "-Dcom.sun.management.jmxremote" "-Dcom.sun.management.jmxremote.local.only=true" ]; 99 99 }; 100 100
+1 -1
nixos/modules/services/monitoring/ups.nix
··· 63 63 64 64 directives = mkOption { 65 65 default = []; 66 - type = types.listOf types.string; 66 + type = types.listOf types.str; 67 67 description = '' 68 68 List of configuration directives for this UPS. 69 69 '';
+1 -1
nixos/modules/services/networking/dnsmasq.nix
··· 45 45 }; 46 46 47 47 servers = mkOption { 48 - type = types.listOf types.string; 48 + type = types.listOf types.str; 49 49 default = []; 50 50 example = [ "8.8.8.8" "8.8.4.4" ]; 51 51 description = ''
+2 -2
nixos/modules/services/networking/firewall.nix
··· 287 287 }; 288 288 289 289 networking.firewall.trustedInterfaces = mkOption { 290 - type = types.listOf types.string; 290 + type = types.listOf types.str; 291 291 description = 292 292 '' 293 293 Traffic coming in from these interfaces will be accepted ··· 379 379 networking.firewall.connectionTrackingModules = mkOption { 380 380 default = [ "ftp" ]; 381 381 example = [ "ftp" "irc" "sane" "sip" "tftp" "amanda" "h323" "netbios_sn" "pptp" "snmp" ]; 382 - type = types.listOf types.string; 382 + type = types.listOf types.str; 383 383 description = 384 384 '' 385 385 List of connection-tracking helpers that are auto-loaded.
+1 -1
nixos/modules/services/networking/minidlna.nix
··· 30 30 }; 31 31 32 32 services.minidlna.mediaDirs = mkOption { 33 - type = types.listOf types.string; 33 + type = types.listOf types.str; 34 34 default = []; 35 35 example = [ "/data/media" "V,/home/alice/video" ]; 36 36 description =
+2 -2
nixos/modules/services/networking/networkmanager.nix
··· 118 118 }; 119 119 120 120 appendNameservers = mkOption { 121 - type = types.listOf types.string; 121 + type = types.listOf types.str; 122 122 default = []; 123 123 description = '' 124 124 A list of name servers that should be appended ··· 127 127 }; 128 128 129 129 insertNameservers = mkOption { 130 - type = types.listOf types.string; 130 + type = types.listOf types.str; 131 131 default = []; 132 132 description = '' 133 133 A list of name servers that should be inserted before
+1 -1
nixos/modules/services/networking/polipo.nix
··· 42 42 }; 43 43 44 44 allowedClients = mkOption { 45 - type = types.listOf types.string; 45 + type = types.listOf types.str; 46 46 default = [ "127.0.0.1" "::1" ]; 47 47 example = [ "127.0.0.1" "::1" "134.157.168.0/24" "2001:660:116::/48" ]; 48 48 description = ''
+1 -1
nixos/modules/services/networking/ssh/sshd.nix
··· 234 234 ]; 235 235 options = { 236 236 hostNames = mkOption { 237 - type = types.listOf types.string; 237 + type = types.listOf types.str; 238 238 default = []; 239 239 description = '' 240 240 A list of host names and/or IP numbers used for accessing
+1 -1
nixos/modules/services/networking/wpa_supplicant.nix
··· 43 43 }; 44 44 45 45 interfaces = mkOption { 46 - type = types.listOf types.string; 46 + type = types.listOf types.str; 47 47 default = []; 48 48 example = [ "wlan0" "wlan1" ]; 49 49 description = ''
+2 -2
nixos/modules/services/networking/znc.nix
··· 144 144 */ 145 145 confOptions = { 146 146 modules = mkOption { 147 - type = types.listOf types.string; 147 + type = types.listOf types.str; 148 148 default = [ "partyline" "webadmin" "adminlog" "log" ]; 149 149 example = [ "partyline" "webadmin" "adminlog" "log" ]; 150 150 description = '' ··· 153 153 }; 154 154 155 155 userModules = mkOption { 156 - type = types.listOf types.string; 156 + type = types.listOf types.str; 157 157 default = [ ]; 158 158 example = [ "fish" "push" ]; 159 159 description = ''
+1 -1
nixos/modules/services/search/elasticsearch.nix
··· 102 102 extraCmdLineOptions = mkOption { 103 103 description = "Extra command line options for the elasticsearch launcher."; 104 104 default = []; 105 - type = types.listOf types.string; 105 + type = types.listOf types.str; 106 106 example = [ "-Djava.net.preferIPv4Stack=true" ]; 107 107 }; 108 108
+1 -1
nixos/modules/system/boot/luksroot.nix
··· 211 211 }; 212 212 213 213 boot.initrd.luks.cryptoModules = mkOption { 214 - type = types.listOf types.string; 214 + type = types.listOf types.str; 215 215 default = 216 216 [ "aes" "aes_generic" "blowfish" "twofish" 217 217 "serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512"
+1 -1
nixos/modules/system/boot/stage-1.nix
··· 358 358 boot.initrd.supportedFilesystems = mkOption { 359 359 default = [ ]; 360 360 example = [ "btrfs" ]; 361 - type = types.listOf types.string; 361 + type = types.listOf types.str; 362 362 description = "Names of supported filesystem types in the initial ramdisk."; 363 363 }; 364 364
+2 -2
nixos/modules/system/boot/systemd-unit-options.nix
··· 42 42 43 43 requiredBy = mkOption { 44 44 default = []; 45 - type = types.listOf types.string; 45 + type = types.listOf types.str; 46 46 description = "Units that require (i.e. depend on and need to go down with) this unit."; 47 47 }; 48 48 49 49 wantedBy = mkOption { 50 50 default = []; 51 - type = types.listOf types.string; 51 + type = types.listOf types.str; 52 52 description = "Units that want (i.e. depend on) this unit."; 53 53 }; 54 54
+1 -1
nixos/modules/tasks/filesystems.nix
··· 121 121 boot.supportedFilesystems = mkOption { 122 122 default = [ ]; 123 123 example = [ "btrfs" ]; 124 - type = types.listOf types.string; 124 + type = types.listOf types.str; 125 125 description = "Names of supported filesystem types."; 126 126 }; 127 127
+1 -1
nixos/modules/tasks/kbd.nix
··· 22 22 # FIXME: still needed? 23 23 boot.extraTTYs = mkOption { 24 24 default = []; 25 - type = types.listOf types.string; 25 + type = types.listOf types.str; 26 26 example = ["tty8" "tty9"]; 27 27 description = '' 28 28 Tty (virtual console) devices, in addition to the consoles on
+1 -1
nixos/modules/tasks/network-interfaces.nix
··· 392 392 393 393 interfaces = mkOption { 394 394 example = [ "eth0" "eth1" ]; 395 - type = types.listOf types.string; 395 + type = types.listOf types.str; 396 396 description = 397 397 "The physical network interfaces connected by the bridge."; 398 398 };