pennyworth: deploy calibre-web

master
Yorick van Pelt 2023-05-15 12:23:11 +02:00
parent bab00a2482
commit 3c81a5b5ed
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
2 changed files with 19 additions and 0 deletions

View File

@ -89,6 +89,11 @@ in {
'';
};
"media.yori.cc" = sslforward "http://${vpn.ips.frumar}:32001";
"calibre.yori.cc" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://[::1]:8083";
};
};
networking.firewall.allowedUDPPorts = [ 31790 ]; # wg
networking.firewall.allowedTCPPorts = [ 60307 ]; # weechat relay
@ -113,4 +118,12 @@ in {
];
nix.settings.allowed-users = [ "@wheel" ];
services.calibre-web = {
enable = true;
options = {
enableBookUploading = true;
#enableBookConversion = true;
};
};
}

View File

@ -11,6 +11,12 @@
nixpkgs.overlays = [
(self: super: {
libdecor = null;
imagemagick = super.imagemagick.override {
libheifSupport = false;
ghostscript = super.ghostscript.override {
cupsSupport = false;
};
};
})
];
}