sombrero: Add calibre-web module

This commit is contained in:
Alexander Heldt
2023-10-22 20:12:27 +02:00
parent 0fc2447481
commit 2ed0e7e115
2 changed files with 52 additions and 28 deletions

View File

@@ -77,7 +77,6 @@
443
1122 # ssh
8384 # syncthing
8083 # calibre-web
];
};
};
@@ -92,15 +91,6 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."books.sombrero.a2x.se" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8083";
};
};
virtualHosts."syncthing.sombrero.a2x.se" = {
forceSSL = true;
enableACME = true;
@@ -279,23 +269,6 @@
];
};
};
calibre-web = {
enable = true;
user = "alex";
group = "users";
listen = {
ip = "127.0.0.1";
port = 8083;
};
options = {
calibreLibrary = "/home/alex/backup/books";
enableBookUploading = true;
};
};
};
users = {
@@ -323,7 +296,6 @@
git
tig
transmission
calibre-web
unar
restic
];
@@ -337,6 +309,7 @@
mod = {
docker.enable = true;
plex.enable = true;
calibre-web.enable = true;
};
# Copy the NixOS configuration file and link it from the resulting system