+1
nixos/modules/module-list.nix
+1
nixos/modules/module-list.nix
···
+165
nixos/modules/services/web-apps/calibre-web.nix
+165
nixos/modules/services/web-apps/calibre-web.nix
···+"config_allow_reverse_proxy_header_login = ${if cfg.options.reverseProxyAuth.enable then "1" else "0"}"+++ optional (cfg.options.calibreLibrary != null) "config_calibre_dir = '${cfg.options.calibreLibrary}'"+++ optional cfg.options.enableBookConversion "config_converterpath = '${pkgs.calibre}/bin/ebook-convert'"+description = "Web app for browsing, reading and downloading eBooks stored in a Calibre database";+test -f ${cfg.options.calibreLibrary}/metadata.db || { echo "Invalid Calibre library"; exit 1; }
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+53
nixos/tests/calibre-web.nix
+53
nixos/tests/calibre-web.nix
···+"curl --fail 'http://localhost:${toString defaultPort}/basicconfig' | grep -q 'Basic Configuration'"
+14
pkgs/servers/calibre-web/db-migrations.patch
+14
pkgs/servers/calibre-web/db-migrations.patch
···
+17
pkgs/servers/calibre-web/default-logger.patch
+17
pkgs/servers/calibre-web/default-logger.patch
···
+72
pkgs/servers/calibre-web/default.nix
+72
pkgs/servers/calibre-web/default.nix
···+# default-logger.patch switches default logger to /dev/stdout. Otherwise calibre-web tries to open a file relative+# to its location, which can't be done as the store is read-only. Log file location can later be configured using UI+# DB migrations adds an env var __RUN_MIGRATIONS_ANDEXIT that, when set, instructs calibre-web to run DB migrations+# and exit. This is gonna be used to configure calibre-web declaratively, as most of its configuration parameters+# calibre-web doesn't follow setuptools directory structure. The following is taken from the script+description = "Web app for browsing, reading and downloading eBooks stored in a Calibre database";
+2
pkgs/top-level/all-packages.nix
+2
pkgs/top-level/all-packages.nix
···