Skip to content

Ocis

services.ocis.address

Web interface address. Type: string

Default

"127.0.0.1"

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

services.ocis.configDir

Path to directory containing oCIS config file.

Example config can be generated by ocis init --config-path fileName --admin-password "adminPass". Add --insecure true if SSL certificates are generated and managed externally (e.g. using oCIS behind reverse proxy).

Note: This directory must contain at least a ocis.yaml. Ensure user has read/write access to it. In some circumstances you may need to add additional oCIS configuration files (e.g., proxy.yaml) to this directory.

Type: null or path

Default

null

Example

"/var/lib/ocis/config"

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

services.ocis.enable

Whether to enable ownCloud Infinite Scale. Type: boolean

Default

false

Example

true

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

services.ocis.environment

Extra config options.

See the documentation for available options. See notes for environment variables for more information.

Note that all the attributes here will be copied to /nix/store/ and will be world readable. Options like *_PASSWORD or *_SECRET should be part of environmentFile instead, and are only provided here for illustrative purpose.

Configuration here will override those from environmentFile and will have highest precedence, at the cost of security. Do NOT put security sensitive stuff here.

Type: attribute set of string

Default

{ }

Example

{CS3_ALLOW_INSECURE = "true";GATEWAY_STORAGE_USERS_MOUNT_ID = "123";GRAPH_APPLICATION_ID = "1234";IDM_IDPSVC_PASSWORD = "password";IDM_REVASVC_PASSWORD = "password";IDM_SVC_PASSWORD = "password";IDP_ISS = "https://localhost:9200";IDP_TLS = "false";OCIS_INSECURE = "false";OCIS_INSECURE_BACKENDS = "true";OCIS_JWT_SECRET = "super_secret";OCIS_LDAP_BIND_PASSWORD = "password";OCIS_LOG_LEVEL = "error";OCIS_MACHINE_AUTH_API_KEY = "foo";OCIS_MOUNT_ID = "123";OCIS_SERVICE_ACCOUNT_ID = "foo";OCIS_SERVICE_ACCOUNT_SECRET = "foo";OCIS_STORAGE_USERS_MOUNT_ID = "123";OCIS_SYSTEM_USER_API_KEY = "foo";OCIS_SYSTEM_USER_ID = "123";OCIS_TRANSFER_SECRET = "foo";STORAGE_USERS_MOUNT_ID = "123";TLS_INSECURE = "true";TLS_SKIP_VERIFY_CLIENT_CERT = "true";WEBDAV_ALLOW_INSECURE = "true";}

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

services.ocis.environmentFile

An environment file as defined in {manpage}systemd.exec(5).

Configuration provided in this file will override those from configDir/ocis.yaml.

Type: null or path

Default

null

Example

"/run/keys/ocis.env"

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

services.ocis.group

The group to run oCIS under. By default, a group named ocis will be created.

Type: string

Default

"ocis"

Example

"yourGroup"

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

services.ocis.package

The ocis-bin package to use. Type: package

Default

pkgs.ocis-bin

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

services.ocis.port

Web interface port. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

9200

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

services.ocis.stateDir

ownCloud data directory. Type: string

Default

"/var/lib/ocis"

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

services.ocis.url

Web interface address. Type: string

Default

"https://localhost:9200"

Example

"https://some-hostname-or-ip:9200"

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

services.ocis.user

The user to run oCIS as. By default, a user named ocis will be created whose home directory is stateDir.

Type: string

Default

"ocis"

Example

"yourUser"

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