From 8f87c11cb5ce6cccf3bde53393cfa0e09f4609fa Mon Sep 17 00:00:00 2001 From: sora-ext Date: Wed, 3 Jun 2026 17:15:00 +0200 Subject: [PATCH] Update modules/server/containers/apps/calibre.nix --- modules/server/containers/apps/calibre.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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" ]; }; };