acmcsufoss / acm-server

Terraform deployment files for acmCSUF.
MIT License
6 stars 2 forks source link

Nix store cache #2

Closed diamondburned closed 1 year ago

diamondburned commented 1 year ago

Right now, only the shell environment is cached. This is good, but it means that every deployment must be fetched from the Nix binary cache every single time.

Ideally, we should use GitHub Actions' cache to cache everything in /nix/store (after we GC what we don't need). This will allow us to persist a /nix/store after each deployment.

diamondburned commented 1 year ago

Implemented in https://github.com/diamondburned/acm-aws/commit/999ef4671b812c6ef43f33bd47b141b1ddbfffe3.