nixos-config/modules/services/komga.nix

21 lines
375 B
Nix
Raw Normal View History

2024-10-07 21:29:41 +02:00
{ lib, config, pkgs, ... }: {
2024-09-26 13:18:44 +02:00
services.komga = {
enable = true;
port = 2872;
stateDir = "/var/lib/komga";
openFirewall = true;
2024-10-07 21:29:41 +02:00
user = "liv";
2024-09-26 13:18:44 +02:00
};
services = {
nginx.virtualHosts."read.liv.town" = {
useACMEHost = "liv.town";
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:2872";
};
};
};
}