diff --git a/modules/services/lohr/default.nix b/modules/services/lohr/default.nix index af218ac..6093677 100644 --- a/modules/services/lohr/default.nix +++ b/modules/services/lohr/default.nix @@ -105,5 +105,9 @@ in inherit (cfg) port; } ]; + + my.system.persist.directories = [ + "/var/lib/${config.systemd.services.lohr.serviceConfig.StateDirectory}" + ]; }; }