iac/nixos/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski 368393eaca
All checks were successful
nixos / nixos (push) Successful in 21s
until comin status --json | jq -e '.deployer.deployment.generation.selected_commit_id == "$H" and (.deployer.deployment.status == "done" or .deployer.deployment.status == "failed")' >/dev/null; do sleep 10; done
comin status --json | jq -r '.deployer.deployment.status'
loginctl list-users --no-legend | awk '{print \$2, \$3}' | tr '\n' ' '; echo
ls /var/lib/systemd/linger
EOF
git log --oneline -1
nixos: keep the login users' systemd managers running (linger)

Every SSH login starts a user's systemd manager and the logout stops it:
a git push as git, a CI deploy, an admin session. A switch that reloads
user units while one is starting or stopping fails with status 4
although the system did switch, and comin reports the deployment as
failed; at 08:50 a push as git did this on ops and the "Deploy failing"
alert mailed. With linger the managers run permanently.

Assisted-by: Claude:opus-5-5
2026-11-17 13:11:13 +04:00
..
alert.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00
backup.nix nixos: deploys do not kill a running backup or replica 2026-11-17 10:21:13 +04:00
base.nix nixos: break-glass root login on ops for its conversion 2026-11-17 07:51:59 +04:00
comin.nix comin: name its port as the security baseline sees it, fix pending 2026-11-17 11:56:25 +04:00
hetzner.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
login-summary.sh nixos: zsh for every account, security summary on login, XMPP over IPv6 2026-11-17 07:28:36 +04:00
monitoring-agent.nix until comin status --json | jq -e '.deployer.deployment.generation.selected_commit_id == "$H" and (.deployer.deployment.status == "done" or .deployer.deployment.status == "failed")' >/dev/null; do sleep 10; done 2026-11-17 13:11:13 +04:00
podman.nix nixos: never restart podman-restart on a deploy 2026-11-17 08:31:51 +04:00
security-metrics.py nixos: drop the rehearsal pair and other migration leftovers 2026-11-17 11:11:33 +04:00
shell.nix nixos: zsh for every account, security summary on login, XMPP over IPv6 2026-11-17 07:28:36 +04:00
wireguard.nix nixos: describe both servers as NixOS systems 2026-11-16 22:59:59 +04:00