diff --git a/modules/nixos/services/nextcloud/default.nix b/modules/nixos/services/nextcloud/default.nix index fe94177..5452dac 100644 --- a/modules/nixos/services/nextcloud/default.nix +++ b/modules/nixos/services/nextcloud/default.nix @@ -92,6 +92,10 @@ in ]; }; + my.system.persist.directories = [ + config.services.nextcloud.home + ]; + services.fail2ban.jails = { nextcloud = '' enabled = true