lemmih/Setup Nix S3 Cache
Configure Nix to use an S3-backed cache with post-build hook for uploading
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| s3-endpoint | S3 endpoint URL (e.g., https://s3.amazonaws.com or https://account.r2.cloudflarestorage.com) | yes | — |
| bucket | S3 bucket name for the cache | yes | — |
| public-key | Public key for the cache | yes | — |
| private-key | Private key for signing uploads (optional, if not provided, no signing) | no | — |
| aws-access-key-id | AWS access key ID (optional, uses AWS_ACCESS_KEY_ID env if not provided) | no | — |
| aws-secret-access-key | AWS secret access key (optional, uses AWS_SECRET_ACCESS_KEY env if not provided) | no | — |
| aws-session-token | AWS session token for temporary credentials (optional, uses AWS_SESSION_TOKEN env if not provided) | no | — |
| region | AWS region (optional, uses AWS_DEFAULT_REGION or AWS_REGION env if not provided) | no | — |
| create-bucket | Create the S3 bucket if it does not exist (default: false) | no | — |
Outputs
no outputs