68 lines
1.1 KiB
Nix
68 lines
1.1 KiB
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.mealie = {
|
|
enable = mkEnableOption "mealie docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
port = mkOption {
|
|
type = types.str;
|
|
default = "9000";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "mealie";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "ghcr.io/mealie-recipes/mealie";
|
|
};
|
|
|
|
dataPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/nix-app-data/mealie";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
|
|
maxWorkers = mkOption {
|
|
type = types.str;
|
|
default = "1";
|
|
};
|
|
|
|
maxConcurrency = mkOption {
|
|
type = types.str;
|
|
default = "1";
|
|
};
|
|
|
|
baseUrl = mkOption {
|
|
type = types.str;
|
|
default = "";
|
|
};
|
|
|
|
allowSignup = mkOption {
|
|
type = types.str;
|
|
default = "true";
|
|
};
|
|
};
|
|
}
|