summaryrefslogtreecommitdiff
path: root/modules/services/redis/default.nix
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-16 22:22:34 +0100
committerGitHub <noreply@github.com>2025-01-16 22:22:34 +0100
commit8e7bd91f353caacc0bc4105f573eb3e17f09e03a (patch)
treec5059edcbebd9644290cad7c653c49a36d593021 /modules/services/redis/default.nix
parent6bd39d420578aacf7c0bab7de3e7027b952115ae (diff)
parentbd921223ba7cdac346477d7ea5204d6f4736fcc6 (diff)
Merge branch 'LnL7:master' into masterHEADmaster
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`.";
};
};