From c07d3f4c0bd4bf685be96138000ecc237f0f1ab6 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 28 Nov 2024 21:46:55 +0000 Subject: [PATCH] nixos: services: komga: persist data --- modules/nixos/services/komga/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/services/komga/default.nix b/modules/nixos/services/komga/default.nix index e1dc780..15e4fbb 100644 --- a/modules/nixos/services/komga/default.nix +++ b/modules/nixos/services/komga/default.nix @@ -36,6 +36,10 @@ in }; }; + my.system.persist.directories = [ + config.services.komga.stateDir + ]; + services.fail2ban.jails = { komga = '' enabled = true