calibre-web now does kobo sync
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# Unnecessary at this stage
|
||||
#services.calibre-web = {
|
||||
# enable = true;
|
||||
# listen.port = 8083;
|
||||
# openFirewall = true;
|
||||
# # Bug in the module puts this in quotes in the systemd file
|
||||
# # user = calibre;
|
||||
# # group = calibre;
|
||||
# options = {
|
||||
# calibreLibrary = "/data/books";
|
||||
# enableBookUploading = true;
|
||||
# };
|
||||
#};
|
||||
services.calibre-web = {
|
||||
enable = true;
|
||||
listen.port = 8083;
|
||||
openFirewall = true;
|
||||
# Bug in the module puts this in quotes in the systemd file
|
||||
user = "calibre-server";
|
||||
group = "calibre-server";
|
||||
options = {
|
||||
calibreLibrary = "/data/books";
|
||||
enableBookUploading = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.calibre-server = {
|
||||
isSystemUser = true;
|
||||
group = "calibre-server";
|
||||
};
|
||||
|
||||
services.calibre-server = {
|
||||
enable = true;
|
||||
@@ -21,6 +26,8 @@
|
||||
# group = calibre;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ calibre ];
|
||||
|
||||
services.nginx.virtualHosts."books.mossnet.lan" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
|
||||
Reference in New Issue
Block a user