nixos-config/hosts/chunk/shiori.nix
cy 3351dcc6aa
init shiori
Signed-off-by: cy <cy@cy7.sh>
2025-01-27 13:04:53 -05:00

14 lines
281 B
Nix

{...}:
{
services.shiori = {
enable = true;
address = "127.0.0.1";
port = 8091;
databaseUrl = "postgres:///shiori?host=/run/postgresql";
};
services.caddy.virtualHosts."link.cy7.sh".extraConfig = ''
import common
reverse_proxy localhost:8091
'';
}