first commit
This commit is contained in:
commit
d802466363
14 changed files with 453 additions and 0 deletions
26
services/calibre-web.nix
Normal file
26
services/calibre-web.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
# Calibre-Web
|
||||
# more options: https://mynixos.com/nixpkgs/options/services.calibre-web
|
||||
services.calibre-web= {
|
||||
enable = true;
|
||||
listen = {
|
||||
ip = "0.0.0.0";
|
||||
port = 8083;
|
||||
};
|
||||
openFirewall = true;
|
||||
options = {
|
||||
enableBookUploading = true;
|
||||
enableBookConversion = true;
|
||||
# No " " around absolute path
|
||||
# Make sure a calibre library .db file is in this folder
|
||||
# Example file: https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
|
||||
calibreLibrary =/home/elias/books;
|
||||
};
|
||||
};
|
||||
|
||||
#Using Caddy on VPS. Don't need this.
|
||||
services.nginx.enable = false;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue