diff --git a/modules/services/flood/default.nix b/modules/services/flood/default.nix index ae8e219..6cca1f0 100644 --- a/modules/services/flood/default.nix +++ b/modules/services/flood/default.nix @@ -46,5 +46,9 @@ in inherit (cfg) port; } ]; + + my.system.persist.directories = [ + "/var/lib/${cfg.stateDir}" + ]; }; }