Alexander Heldt 56c04b1f70 manatee: Guard podman containers against crash-looping
Add a start-limit (5 restarts / 5 min) to the romm, romm-db, romm-redis
and homeassistant podman services so a failing container enters a
`failed` state instead of retrying forever. A slow crash-loop (~5s per
attempt) stays under systemd's default 5-starts-per-10s limit, so a
longer window is needed to catch it.
2026-07-26 07:32:16 +00:00
2026-07-24 12:26:33 +00:00
2025-07-10 16:21:03 +02:00
2024-09-02 21:07:34 +02:00
2024-09-02 21:07:34 +02:00
2026-07-24 15:19:12 +00:00
2026-07-24 12:26:33 +00:00

config-manager

./config-manager is a module that contains a script to make usage of this flake easier.

To install it

  1. first add the module to the nixOS system connfiguration
  2. set config-manager.flakePath = <path to this flake>
  3. run nixos-rebuild switch --flake .#<configuration> after that cm will be available on $PATH.

Secrets

Secrets are managed by agenix (https://github.com/ryantm/agenix).

Creating new secrets

  1. Update secrets/secrets.nix with the new secret.

  2. When inside ./secrets:

EDITOR=vim agenix -e "some-secret.age"

This will create a new secret. To view its content one can do:

EDITOR=vim agenix -d "some-secret.age" -i ~/.ssh/alex.pinwheel

Or use some other SSH key that is has been used to key the secret.

Test VM

Build the test VM with the command:

cm  --build-test-vm

and test it with:

cm  --run-test-vm
S
Description
No description provided
Readme 1.4 MiB
Languages
Nix 76.6%
HTML 19.6%
Shell 3.8%