nixos/meilisearch: format

This commit is contained in:
happysalada 2024-11-26 02:13:20 -05:00
parent 4eb325e672
commit ab7abb5c80

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
with lib; with lib;
@ -8,7 +13,10 @@ let
in in
{ {
meta.maintainers = with maintainers; [ Br1ght0ne happysalada ]; meta.maintainers = with maintainers; [
Br1ght0ne
happysalada
];
meta.doc = ./meilisearch.md; meta.doc = ./meilisearch.md;
###### interface ###### interface
@ -37,7 +45,10 @@ in
environment = mkOption { environment = mkOption {
description = "Defines the running environment of MeiliSearch."; description = "Defines the running environment of MeiliSearch.";
default = "development"; default = "development";
type = types.enum [ "development" "production" ]; type = types.enum [
"development"
"production"
];
}; };
# TODO change this to LoadCredentials once possible # TODO change this to LoadCredentials once possible