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