Skip to content

Kavita

services.kavita.dataDir

The directory where Kavita stores its state. Type: string

Default

"/var/lib/kavita"

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

services.kavita.enable

Whether to enable Kavita reading server. Type: boolean

Default

false

Example

true

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

services.kavita.package

The kavita package to use. Type: package

Default

pkgs.kavita

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

services.kavita.settings

Kavita configuration options, as configured in {file}appsettings.json.

Type: JSON value

Default

{ }

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

services.kavita.settings.IpAddresses

IP Addresses to bind to. The default is to bind to all IPv4 and IPv6 addresses.

Type: strings concatenated with ","

Default

"0.0.0.0,::"

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

services.kavita.settings.Port

Port to bind to. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5000

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

services.kavita.tokenKeyFile

A file containing the TokenKey, a secret with at 512+ bits. It can be generated with head -c 64 /dev/urandom | base64 --wrap=0.

Type: path

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

services.kavita.user

User account under which Kavita runs. Type: string

Default

"kavita"

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