+6
nixos/doc/manual/release-notes/rl-2105.xml
+6
nixos/doc/manual/release-notes/rl-2105.xml
···+<option>services.minio.dataDir</option> changed type to a list of paths, required for specifiyng multiple data directories for using with erasure coding.+Currently, the service doesn't enforce nor checks the correct number of paths to correspond to minio requirements.
+5
-6
nixos/modules/services/web-servers/minio.nix
+5
-6
nixos/modules/services/web-servers/minio.nix
···+description = "The list of data directories for storing the objects. Use one path for regular operation and the minimum of 4 endpoints for Erasure Code mode.";···-ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --config-dir=${cfg.configDir} ${cfg.dataDir}";+ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --config-dir=${cfg.configDir} ${toString cfg.dataDir}";