diff --git a/modules/services/calibre-web/default.nix b/modules/services/calibre-web/default.nix index e6ba10d..8f5b262 100644 --- a/modules/services/calibre-web/default.nix +++ b/modules/services/calibre-web/default.nix @@ -53,5 +53,10 @@ in cfg.libraryPath ]; }; + + my.system.persist.directories = [ + "/var/lib/${config.services.calibre-web.dataDir}" + cfg.libraryPath + ]; }; }