Skip to content

Commit

Permalink
patch(nix-store): fix inconsistent aws configs (#145)
Browse files Browse the repository at this point in the history
* fix: correct a typo

* patch(nix-store): fix inconsistent aws configs

---------

Co-authored-by: kev <31861128+yqlbu@users.noreply.github.com>
  • Loading branch information
piyoki and piyoki committed Apr 9, 2024
1 parent 9afc7fc commit b015efb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/nix-store/host-your-own-binary-cache-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ for all machines that require access to the Nix binary cache.
Create `~/.aws/credentials` with the following content (replace `<nixbuildersecret>` with
the password generated by the `pwgen` command).

```toml
[default]
```conf
[nixbuilder]
aws_access_key_id=nixbuilder
aws_secret_access_key=<nixbuildersecret>
```
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/nix-store/host-your-own-binary-cache-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Nix 将直接与 S3 存储桶交互,因此我们都需要给所有需要访问
S3 凭据。创建 `~/.aws/credentials`,内容如下(请注意用前面 `pwgen` 命令生成的密码替换
`<nixbuildersecret>`)。

```toml
[default]
```conf
[nixbuilder]
aws_access_key_id=nixbuilder
aws_secret_access_key=<nixbuildersecret>
```
Expand Down

0 comments on commit b015efb

Please sign in to comment.