diff --git a/modules/nixos/services/mealie/default.nix b/modules/nixos/services/mealie/default.nix index 664d5ba..920081a 100644 --- a/modules/nixos/services/mealie/default.nix +++ b/modules/nixos/services/mealie/default.nix @@ -72,6 +72,16 @@ in }; }; + my.services.backup = { + paths = [ + config.systemd.services.mealie.environment.DATA_DIR + ]; + }; + + my.system.persist.directories = [ + config.systemd.services.mealie.environment.DATA_DIR + ]; + services.fail2ban.jails = { mealie = '' enabled = true