dotfiles/modules/services/calibre.nix

29 lines
409 B
Nix
Raw Normal View History

2022-10-01 21:39:36 +00:00
{ config, pkgs, lib, ... }:
let
2022-10-02 02:47:10 +00:00
libraryPath = "/var/lib/calibre-server";
2022-10-01 21:39:36 +00:00
in {
options = { };
config = {
services.calibre-server = {
enable = true;
libraries = [ libraryPath ];
};
services.calibre-web = {
enable = true;
openFirewall = true;
options = {
reverseProxyAuth.enable = false;
enableBookConversion = true;
};
};
};
}