iac/nixos/.sops.yaml
Sergei Poljanski f49dd72172
All checks were successful
nixos / nixos (push) Successful in 35s
nixos: podman without sudo for the admins; re-key the rehearsal ops
`podman` run as an admin showed that user's own, empty rootless store,
so `podman ps` needed sudo while `docker ps` did not. Point CONTAINER_HOST
at the system Podman's socket, which group podman (the admins) may use.

The rehearsal ops server was rebuilt and has a new host key.

Assisted-by: Claude:opus-5-5
2026-11-17 08:10:13 +04:00

19 lines
1 KiB
YAML

# Who can decrypt what. A host decrypts with its SSH host key (converted
# with ssh-to-age); the admin key edits everything.
keys:
- &admin age19xvmm6j3h2u6mc3w6k65ufry4p5aa5lwu96p55h3e42p9wfzwc0qp2w7pk
- &asxpio_ops age1jxcl9cwk64wak2gyzf22vm3dpj80wtl76c7krywlrj7jjxftscrskrg3tf
- &asxpio_services age15ws8alg3ftsgmzvqxft09556g87s4n8c8v39nmvhaz6k50gp4e7se8acmg
# Throwaway servers: replace with the new host's key, then
# sops updatekeys secrets/rehearsal-*.yaml
- &rehearsal_ops age138t70j9mf3su6krnt2ygxdy4xwm2wpyrgjjhk7rlzpr3tkdhcuyqdywfjl
- &rehearsal_services age1au6f8m6l245ddrunqf2a62xprnlevn9yrducynlay2tgknfxeeusj94j5l
creation_rules:
- path_regex: secrets/asxpio-ops\.yaml$
key_groups: [{ age: [*admin, *asxpio_ops] }]
- path_regex: secrets/asxpio-services\.yaml$
key_groups: [{ age: [*admin, *asxpio_services] }]
- path_regex: secrets/rehearsal-ops\.yaml$
key_groups: [{ age: [*admin, *rehearsal_ops] }]
- path_regex: secrets/rehearsal-services\.yaml$
key_groups: [{ age: [*admin, *rehearsal_services] }]