From 859e8c958902c6d05e006e904678854d5a9e18ee Mon Sep 17 00:00:00 2001 From: kev <31861128+yqlbu@users.noreply.github.com> Date: Sun, 17 Mar 2024 00:24:25 +0800 Subject: [PATCH 1/2] fix: correct a typo --- docs/development/packaging-101.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/packaging-101.md b/docs/development/packaging-101.md index 475dd20..5c4d65b 100644 --- a/docs/development/packaging-101.md +++ b/docs/development/packaging-101.md @@ -3,7 +3,7 @@ WIP work in progress, please refer to the following reference documents to learn Nix packaging. -## 参考文档 +## References - [NixOS Series 3: Software Packaging 101](https://lantian.pub/en/article/modify-computer/nixos-packaging.lantian/) - [How to Learn Nix, Part 28: The standard environment](https://ianthehenry.com/posts/how-to-learn-nix/the-standard-environment/) From 4e4cc4277a072fdda97651a63aac0d8f5981629e Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 9 Apr 2024 22:32:39 +0800 Subject: [PATCH 2/2] patch(nix-store): fix inconsistent aws configs --- docs/nix-store/host-your-own-binary-cache-server.md | 4 ++-- docs/zh/nix-store/host-your-own-binary-cache-server.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/nix-store/host-your-own-binary-cache-server.md b/docs/nix-store/host-your-own-binary-cache-server.md index 3647126..ee0870f 100644 --- a/docs/nix-store/host-your-own-binary-cache-server.md +++ b/docs/nix-store/host-your-own-binary-cache-server.md @@ -73,8 +73,8 @@ for all machines that require access to the Nix binary cache. Create `~/.aws/credentials` with the following content (replace `` with the password generated by the `pwgen` command). -```toml -[default] +```conf +[nixbuilder] aws_access_key_id=nixbuilder aws_secret_access_key= ``` diff --git a/docs/zh/nix-store/host-your-own-binary-cache-server.md b/docs/zh/nix-store/host-your-own-binary-cache-server.md index 28273d7..f7e9b92 100644 --- a/docs/zh/nix-store/host-your-own-binary-cache-server.md +++ b/docs/zh/nix-store/host-your-own-binary-cache-server.md @@ -69,8 +69,8 @@ Nix 将直接与 S3 存储桶交互,因此我们都需要给所有需要访问 S3 凭据。创建 `~/.aws/credentials`,内容如下(请注意用前面 `pwgen` 命令生成的密码替换 ``)。 -```toml -[default] +```conf +[nixbuilder] aws_access_key_id=nixbuilder aws_secret_access_key= ```