iac/nixos/hosts/asxpio-ops
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski 2ca56d595c
All checks were successful
nixos / nixos (push) Successful in 44s
nixos: containers come back after a reboot; ops-data.sh fixes
Found by rehearsing the ops conversion on a fresh test server with last
night's backup:

- After a reboot the app containers stayed stopped. Docker restarted
  them; Podman does so only through podman-restart.service, which it
  ships but does not enable. Enable it; on ops it waits for the app
  networks, Postgres and Garage.
- ops-data.sh: a fresh NixOS has no /opt, so moving the app directories
  failed; and NixOS creates an empty /var/lib/forgejo/repositories at
  boot, so the repositories were moved into it, one level too deep.
  Every part now creates its target, replaces what is empty and skips
  what already moved, so an interrupted run can be resumed.
- `forgejo admin regenerate hooks` is gone in Forgejo 17, which gives
  git its own hooks on every push; a push to a restored repository
  works with the old hook files in place. Drop the call.
- The rehearsal ops host does not push XMPP certificates: there is no
  services host behind 10.10.0.20 on the test network.

Assisted-by: Claude:opus-5-5
2026-11-17 08:27:35 +04:00
..
monitoring nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
apps.nix nixos: containers come back after a reboot; ops-data.sh fixes 2026-11-17 08:27:35 +04:00
crawler-alert.py nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
crawler.nix nixos: crawler report as native units 2026-11-17 04:51:37 +04:00
default.nix nixos: break-glass root login on ops for its conversion 2026-11-17 07:51:59 +04:00
forgejo.nix nixos: zsh for every account, security summary on login, XMPP over IPv6 2026-11-17 07:28:36 +04:00
garage.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
options.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
postgres.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
traefik.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
xmpp-cert-sync.nix nixos: bucket replica and XMPP certificate sync 2026-11-16 23:27:47 +04:00
xmpp-cert-sync.py nixos: bucket replica and XMPP certificate sync 2026-11-16 23:27:47 +04:00