feat: adds komga for books

This commit is contained in:
Ahwx 2024-09-26 13:18:44 +02:00
parent 6154b98406
commit 990f3af23e

View file

@ -0,0 +1,20 @@
{ globals, lib, config, pkgs, ... }: {
services.komga = {
enable = true;
port = 2872;
stateDir = "/var/lib/komga";
openFirewall = true;
user = globals.user;
};
services = {
nginx.virtualHosts."read.liv.town" = {
useACMEHost = "liv.town";
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:2872";
};
};
};
}