feat: winters <> summers parity
Some checks are pending
Build and Deploy / build (push) Waiting to run
Build and Deploy / deploy (push) Blocked by required conditions
Flake check / Check flake (push) Waiting to run

This commit is contained in:
Leon Schwarzäugl 2026-01-10 15:56:09 +01:00
parent 7cacce85a0
commit 04e3bcefc3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
144 changed files with 3628 additions and 732 deletions

View file

@ -0,0 +1,30 @@
{ name, writeShellApplication, ... }:
writeShellApplication {
inherit name;
text = ''
if [ "$#" -lt 3 ]; then
echo "Usage: $0 <host> <arch_path> <service1> [service2 ...]" >&2
echo "Example: $0 hintbooth hosts/nixos/x86_64-linux adguardhome nginx" >&2
exit 1
fi
HOST="$1"
ARCH_PATH="$2"
shift 2
for service in "$@"; do
cat <<EOF
- path_regex: ''${ARCH_PATH}/''${HOST}/secrets/''${service}/[^/]+\.(yaml|json|env|ini|enc)\$
key_groups:
- pgp:
- *swarsel
age:
- *''${HOST}
- *''${HOST}-''${service}
EOF
done
'';
}