Skip to content

Silverbullet

services.silverbullet.enable

Whether to enable Silverbullet, an open-source, self-hosted, offline-capable Personal Knowledge Management (PKM) web application. Type: boolean

Default

false

Example

true

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

services.silverbullet.envFile

File containing extra environment variables. For example:

SB_USER=user:password
SB_AUTH_TOKEN=abcdefg12345

Type: null or path

Default

null

Example

"/etc/silverbullet.env"

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

services.silverbullet.extraArgs

Extra arguments passed to silverbullet. Type: list of string

Default

[ ]

Example

["--db /path/to/silverbullet.db"]

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

services.silverbullet.group

The group to run Silverbullet under. By default, a group named silverbullet will be created.

Type: string

Default

"silverbullet"

Example

"yourGroup"

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

services.silverbullet.listenAddress

Address or hostname to listen on. Defaults to 127.0.0.1. Type: string

Default

"127.0.0.1"

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

services.silverbullet.listenPort

Port to listen on. Type: signed integer

Default

3000

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

services.silverbullet.openFirewall

Open port in the firewall. Type: boolean

Default

false

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

services.silverbullet.package

The silverbullet package to use. Type: package

Default

pkgs.silverbullet

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

services.silverbullet.spaceDir

Folder to store Silverbullet's space/workspace. By default it is located at /var/lib/silverbullet.

Type: path

Default

"/var/lib/silverbullet"

Example

"/home/yourUser/silverbullet"

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

services.silverbullet.user

The user to run Silverbullet as. By default, a user named silverbullet will be created whose space directory is spaceDir.

Type: string

Default

"silverbullet"

Example

"yourUser"

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