Skip to content

Imaginary

services.imaginary.address

Bind address. Corresponds to the -a flag. Set to "" to bind to all addresses.

Type: string

Default

"localhost"

Example

"[::1]"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/imaginary.nix

services.imaginary.enable

Whether to enable imaginary image processing microservice. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/imaginary.nix

services.imaginary.port

Bind port. Corresponds to the -p flag. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8088

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/imaginary.nix

services.imaginary.settings

Command line arguments passed to the imaginary executable, stripped of the prefix -. See upstream's README for all options.

Type: attribute set of (boolean or signed integer or non-empty (list of string) or string)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/imaginary.nix

services.imaginary.settings.return-size

Return the image size in the HTTP headers. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/imaginary.nix