28 lines
466 B
Nix
28 lines
466 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.redis = {
|
|
enable = mkEnableOption "redis docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "redis";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "redis";
|
|
};
|
|
|
|
cmd = mkOption {
|
|
type = types.str;
|
|
default = "redis-server --requirepass BogieDudie1";
|
|
};
|
|
};
|
|
}
|