Skip to content

Crabfit

services.crabfit.api.environment

Environment variables for the crabfit API.

Type: attribute set of string

Default

{ }

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

services.crabfit.api.host

The hostname of the API.

Type: string

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

services.crabfit.api.package

The crabfit-api package to use. Type: package

Default

pkgs.crabfit-api

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

services.crabfit.api.port

The internal listening port of the API.

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

Default

3000

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

services.crabfit.enable

Whether to enable Crab Fit, a meeting scheduler based on peoples' availability. Type: boolean

Default

false

Example

true

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

services.crabfit.frontend.environment

Environment variables for the crabfit frontend.

Type: attribute set of string

Default

{ }

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

services.crabfit.frontend.finalDrv

The patched frontend, using the correct urls for the API and frontend.

Type: package

Default

cfg.package.override {api_url = "https://${cfg.api.host}";frontend_url = cfg.frontend.host;};

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

services.crabfit.frontend.host

The hostname of the frontend.

Type: string

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

services.crabfit.frontend.package

The crabfit-frontend package to use. Type: package

Default

pkgs.crabfit-frontend

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

services.crabfit.frontend.port

The internal listening port of the frontend.

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

Default

3001

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