From 06877dad95a5286f06ccfc1c299f34a0008a3b94 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 28 Nov 2024 21:45:43 +0000 Subject: [PATCH] nixos: services: aria: persist data --- modules/nixos/services/aria/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/services/aria/default.nix b/modules/nixos/services/aria/default.nix index acbf0b7..227cbac 100644 --- a/modules/nixos/services/aria/default.nix +++ b/modules/nixos/services/aria/default.nix @@ -69,6 +69,11 @@ in }; }; + my.system.persist.directories = [ + cfg.downloadDir + config.users.users.aria2.home + ]; + # NOTE: unfortunately aria2 does not log connection failures for fail2ban }; }