mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
20 lines
391 B
Nix
20 lines
391 B
Nix
{ 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";
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|