Skip to content

Eris server

services.eris-server.backends

List of backend URLs. Add "get" and "put" as query elements to enable those operations.

Type: list of string

Example

["bolt+file:///srv/eris.bolt?get&put""coap+tcp://eris.example.com:5683?get"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.decode

Whether the HTTP service (when enabled) will decode ERIS content at /uri-res/N2R?urn:eris:. Enabling this is recommended only for private or local-only servers.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.enable

Whether to enable an ERIS server. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.listenCoap

Server CoAP listen address. Listen on all IP addresses at port 5683 by default. Please note that the server can service client requests for ERIS-blocks by querying other clients connected to the server. Whether or not blocks are relayed back to the server depends on client configuration but be aware this may leak sensitive metadata and trigger network activity.

Type: null or string

Default

":5683"

Example

"[::1]:5683"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.listenHttp

Server HTTP listen address. Do not listen by default. Type: null or string

Default

null

Example

"[::1]:8080"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.mountpoint

Mountpoint for FUSE namespace that exposes "urn:eris:…" files.

Type: null or string

Default

null

Example

"/eris"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix

services.eris-server.package

Package to use for the ERIS server. Type: package

Default

pkgs.eris-go

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/eris-server.nix