Skip to content

Anki sync server

services.anki-sync-server.address

IP address anki-sync-server listens to. Note host names are not resolved.

Type: string

Default

"::1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.enable

Whether to enable anki-sync-server. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.openFirewall

Whether to open the firewall for the specified port. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.package

The anki-sync-server package to use. Type: package

Default

pkgs.anki-sync-server

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.port

Port number anki-sync-server listens to. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

27701

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.users

List of user-password pairs to provide to the sync server. Type: list of (submodule)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.users.*.password

Password accepted by anki-sync-server for the associated username. WARNING: This option is not secure. This password will be stored in plaintext and will be visible to all users. See {option}services.anki-sync-server.users.passwordFile for a more secure option.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.users.*.passwordFile

File containing the password accepted by anki-sync-server for the associated username. Make sure to make readable only by root.

Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix

services.anki-sync-server.users.*.username

User name accepted by anki-sync-server. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/anki-sync-server.nix