diff --git a/README.md b/README.md index 4a32273..c12239f 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ You can use the following environment variables to configure nar-serve: |:-- |:-- |:-- | | `PORT` | `8383` | Port number on which nar-service listens | | `HTTP_ADDR` | `:$PORT` | HTTP address to bind the server to. When set, takes precedence over $PORT. | -| `NAR_CACHE_URL` | `https://cache.nixos.org` | The URL of the Nix store from which NARs are fetched | +| `NIX_CACHE_URL` | `https://cache.nixos.org` | The URL of the Nix store from which NARs are fetched | ## Contributing diff --git a/deploy/tf_aws_apprunner/main.tf b/deploy/tf_aws_apprunner/main.tf index c746321..429cfa8 100644 --- a/deploy/tf_aws_apprunner/main.tf +++ b/deploy/tf_aws_apprunner/main.tf @@ -41,7 +41,7 @@ resource "aws_apprunner_service" "nar_serve" { image_configuration { port = "8383" runtime_environment_variables = { - NAR_CACHE_URL = var.cache_url + NIX_CACHE_URL = var.cache_url } } image_identifier = "${aws_ecr_repository.nar_serve.repository_url}:${var.image_tag}"