test redis
This commit is contained in:
27
modules/apps/redis/options.nix
Normal file
27
modules/apps/redis/options.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user