about summary refs log tree commit diff
path: root/modules/nixos/redis.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/redis.nix')
-rw-r--r--modules/nixos/redis.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixos/redis.nix b/modules/nixos/redis.nix
index 166407e..ca25101 100644
--- a/modules/nixos/redis.nix
+++ b/modules/nixos/redis.nix
@@ -10,6 +10,8 @@ in {
   options.nixfiles.modules.redis.enable = mkEnableOption "Redis";
 
   config = mkIf cfg.enable {
+    ark.directories = ["/var/lib/redis-default"];
+
     services = {
       redis = {
         servers.default = {

Consider giving Nix/NixOS a try! <3