Skip to content

Grocy

services.grocy.dataDir

Home directory of the grocy user which contains the application's state.

Type: string

Default

"/var/lib/grocy"

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

services.grocy.enable

Whether to enable grocy. Type: boolean

Default

false

Example

true

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

services.grocy.hostName

FQDN for the grocy instance.

Type: string

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

services.grocy.nginx.enableSSL

Whether or not to enable SSL (with ACME and let's encrypt) for the grocy vhost.

Type: boolean

Default

true

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

services.grocy.package

The grocy package to use. Type: package

Default

pkgs.grocy

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

services.grocy.phpfpm.settings

Options for grocy's PHPFPM pool.

Type: attribute set of (signed integer or string or boolean)

Default

{catch_workers_output = true;"listen.owner" = "nginx";"php_admin_flag[log_errors]" = true;"php_admin_value[error_log]" = "stderr";pm = "dynamic";"pm.max_children" = "32";"pm.max_requests" = "500";"pm.max_spare_servers" = "4";"pm.min_spare_servers" = "2";"pm.start_servers" = "2";}

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

services.grocy.settings.calendar.firstDayOfWeek

Which day of the week (0=Sunday, 1=Monday etc.) should be the first day.

Type: null or one of 0, 1, 2, 3, 4, 5, 6

Default

null

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

services.grocy.settings.calendar.showWeekNumber

Show the number of the weeks in the calendar views.

Type: boolean

Default

true

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

services.grocy.settings.culture

Display language of the frontend.

Type: one of "de", "en", "da", "en_GB", "es", "fr", "hu", "it", "nl", "no", "pl", "pt_BR", "ru", "sk_SK", "sv_SE", "tr"

Default

"en"

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

services.grocy.settings.currency

ISO 4217 code for the currency to display.

Type: string

Default

"USD"

Example

"EUR"

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