Skip to content

Minio

services.minio.accessKey

Access key of 5 to 20 characters in length that clients use to access the server. This overrides the access key that is generated by minio on first startup and stored inside the configDir directory.

Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.browser

Enable or disable access to web UI. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.configDir

The config directory, for the access keys and other settings. Type: path

Default

"/var/lib/minio/config"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.consoleAddress

IP address and port of the web UI (console). Type: string

Default

":9001"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.dataDir

The list of data directories or nodes for storing the objects. Use one path for regular operation and the minimum of 4 endpoints for Erasure Code mode. Type: list of (path or string)

Default

["/var/lib/minio/data"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.enable

Whether to enable Minio Object Storage. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.listenAddress

IP address and port of the server. Type: string

Default

":9000"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.package

The minio package to use. Type: package

Default

pkgs.minio

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.region

The physical location of the server. By default it is set to us-east-1, which is same as AWS S3's and Minio's default region.

Type: string

Default

"us-east-1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.rootCredentialsFile

File containing the MINIO_ROOT_USER, default is "minioadmin", and MINIO_ROOT_PASSWORD (length >= 8), default is "minioadmin"; in the format of an EnvironmentFile=, as described by systemd.exec(5).

Type: null or path

Default

null

Example

"/etc/nixos/minio-root-credentials"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix

services.minio.secretKey

Specify the Secret key of 8 to 40 characters in length that clients use to access the server. This overrides the secret key that is generated by minio on first startup and stored inside the configDir directory.

Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-servers/minio.nix