manatee/backwards: Move calibre-web module to manatee

This commit is contained in:
Alexander Heldt
2025-05-18 15:38:38 +00:00
parent 5f5df49717
commit c87c07ca3a
3 changed files with 6 additions and 4 deletions

View File

@@ -1,32 +0,0 @@
{ lib, config, ... }:
let
enabled = config.mod.calibre-web.enable;
in
{
options = {
mod.calibre-web = {
enable = lib.mkEnableOption "add calibre-web module";
};
};
config = lib.mkIf enabled {
services = {
calibre-web = {
enable = true;
user = "alex";
group = "users";
listen = {
ip = "0.0.0.0";
port = 8083;
};
options = {
calibreLibrary = "/home/alex/sync/reading-material/books";
enableBookUploading = true;
};
};
};
};
}

View File

@@ -15,7 +15,6 @@ in
nginx.enable = true;
syncthing.enable = true;
restic.enable = true;
calibre-web.enable = true;
};
};
}