summaryrefslogtreecommitdiff
path: root/modules/services/redis/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-14 23:02:32 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-19 04:05:50 +0200
commitdef1e23be848848400d1d097d4f044e3c401f9dd (patch)
tree7a69686dea36e304c788531fda90bc3edeee86fd /modules/services/redis/default.nix
parent99b3f9a1f5d2604d542f367d38001dfa40eea7b9 (diff)
treewide: remove lib.mdDoc
Diffstat (limited to 'modules/services/redis/default.nix')
-rw-r--r--modules/services/redis/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/services/redis/default.nix b/modules/services/redis/default.nix
index 0fa0af7..ccacd3b 100644
--- a/modules/services/redis/default.nix
+++ b/modules/services/redis/default.nix
@@ -11,52 +11,52 @@ in
services.redis.enable = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc "Whether to enable the redis database service.";
+ description = "Whether to enable the redis database service.";
};
services.redis.package = mkOption {
type = types.path;
default = pkgs.redis;
defaultText = "pkgs.redis";
- description = lib.mdDoc "This option specifies the redis package to use";
+ description = "This option specifies the redis package to use";
};
services.redis.dataDir = mkOption {
type = types.nullOr types.path;
default = "/var/lib/redis";
- description = lib.mdDoc "Data directory for the redis database.";
+ description = "Data directory for the redis database.";
};
services.redis.port = mkOption {
type = types.int;
default = 6379;
- description = lib.mdDoc "The port for Redis to listen to.";
+ description = "The port for Redis to listen to.";
};
services.redis.bind = mkOption {
type = types.nullOr types.str;
default = null; # All interfaces
- description = lib.mdDoc "The IP interface to bind to.";
+ description = "The IP interface to bind to.";
example = "127.0.0.1";
};
services.redis.unixSocket = mkOption {
type = types.nullOr types.path;
default = null;
- description = lib.mdDoc "The path to the socket to bind to.";
+ description = "The path to the socket to bind to.";
example = "/var/run/redis.sock";
};
services.redis.appendOnly = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc "By default data is only periodically persisted to disk, enable this option to use an append-only file for improved persistence.";
+ description = "By default data is only periodically persisted to disk, enable this option to use an append-only file for improved persistence.";
};
services.redis.extraConfig = mkOption {
type = types.lines;
default = "";
- description = lib.mdDoc "Additional text to be appended to {file}`redis.conf`.";
+ description = "Additional text to be appended to {file}`redis.conf`.";
};
};