iac/nixos/hosts/asxpio-services/apps.nix
Sergei Poljanski 0b3bb707ae
All checks were successful
nixos / nixos (push) Successful in 22s
services: serve czsk.it from its flake, beside the container
czsk/czsk now exports the site and a module serving it from an nginx
virtual host with its headers, gzip and caching. services runs it on
:8082 next to the container on ops; no route yet. Renovate automerges
its bumps like the blog's.

Assisted-by: Claude:opus-5-5
2026-11-17 13:18:47 +04:00

17 lines
523 B
Nix

# The apps, built from their own repositories' flakes (inputs in
# ../../flake.nix) and served here; Traefik on asxpio-ops routes to them
# over the private network (asxpio.routes there). A release is a bump of
# the app's input in flake.lock.
{ ... }:
{
# A new or changed virtual host reloads nginx instead of restarting it
services.nginx.enableReload = true;
services.blog.enable = true; # :8081
services.czsk.enable = true; # :8082
asxpio.security.ports = [
"tcp/8081/nginx"
"tcp/8082/nginx"
];
}