Skip to content

Trilium server

services.trilium-server.dataDir

The directory storing the notes database and the configuration.

Type: string

Default

"/var/lib/trilium"

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

services.trilium-server.enable

Whether to enable trilium-server. Type: boolean

Default

false

Example

true

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

services.trilium-server.host

The host address to bind to (defaults to localhost).

Type: string

Default

"127.0.0.1"

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

services.trilium-server.instanceName

Instance name used to distinguish between different instances

Type: string

Default

"Trilium"

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

services.trilium-server.nginx

Configuration for nginx reverse proxy.

Type: submodule

Default

{ }

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

services.trilium-server.nginx.enable

Configure the nginx reverse proxy settings.

Type: boolean

Default

false

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

services.trilium-server.nginx.hostName

The hostname use to setup the virtualhost configuration

Type: string

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

services.trilium-server.noAuthentication

If set to true, no password is required to access the web frontend.

Type: boolean

Default

false

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

services.trilium-server.noBackup

Disable periodic database backups.

Type: boolean

Default

false

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

services.trilium-server.port

The port number to bind to.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8080

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