From 53afba8b40b7bbef4c6d85aa1d8fda4b5318750c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 30 Jan 2026 08:09:19 -0800 Subject: [PATCH] Add org-agenda-api cachix to deploy script Co-Authored-By: Claude Opus 4.5 --- org-agenda-api/deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org-agenda-api/deploy.sh b/org-agenda-api/deploy.sh index ab3dc8ec..7dee5b8b 100755 --- a/org-agenda-api/deploy.sh +++ b/org-agenda-api/deploy.sh @@ -67,8 +67,11 @@ echo " dotfiles: $DOTFILES_REV" # Build container from nixos flake for this instance # Use --refresh to ensure we're not using stale cached builds +# Use org-agenda-api cachix for faster builds echo "Building container from flake..." -nix build "$NIXOS_DIR#${INSTANCE}-org-agenda-api" -o "result-${INSTANCE}-org-agenda-api" --refresh +nix build "$NIXOS_DIR#${INSTANCE}-org-agenda-api" -o "result-${INSTANCE}-org-agenda-api" --refresh \ + --option extra-substituters "https://org-agenda-api.cachix.org" \ + --option extra-trusted-public-keys "org-agenda-api.cachix.org-1:MzzlSeQpJ/erP9/qYU6EiS4LM4AHA/mpc8s4thtEvNI=" # Load into Docker echo "Loading container into Docker..."