diff --git a/modules/server/containers/apps/calibre.nix b/modules/server/containers/apps/calibre.nix index e528d92..9f2be1e 100644 --- a/modules/server/containers/apps/calibre.nix +++ b/modules/server/containers/apps/calibre.nix @@ -5,13 +5,7 @@ let in { sops = false; db = false; - paths = [ - { - path = "${serverCfg.configPath}/calibre-web/"; - mode = "0755"; - dirs = ["library" "ingest"]; - } - ]; + containers = { server = builder.mkContainer { @@ -35,10 +29,9 @@ in { "traefik.http.routers.${containerCfg.subdomain}-login.tls" = "true"; }; overrides = { - cmd = [ ]; volumes = [ - "${serverCfg.configPath}/calibre-web/library/:/calibre-library" - "${serverCfg.configPath}/calibre-web/ingest/:/cwa-book-ingest" + "${serverCfg.path.book}:/calibre-library" + "${serverCfg.path.dlBook}:/cwa-book-ingest" ]; }; };