From 98f99ae40dfa6fdbe57751ba171506ec276c623c Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 19 Mar 2024 18:23:09 +0800 Subject: [PATCH] feat: Flakes Tutorials - update links --- .../nixos-with-flakes/introduction-to-flakes.md | 14 +++++++++----- .../nixos-with-flakes/introduction-to-flakes.md | 17 +++++++++++------ 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/docs/nixos-with-flakes/introduction-to-flakes.md b/docs/nixos-with-flakes/introduction-to-flakes.md index 3ce94b6..b9dcb5e 100644 --- a/docs/nixos-with-flakes/introduction-to-flakes.md +++ b/docs/nixos-with-flakes/introduction-to-flakes.md @@ -48,11 +48,15 @@ may arise due to forthcoming breaking changes. I won't go into too much detail here, please refer to the following documents: -- [Flakes - nix.dev](https://nix.dev/concepts/flakes) -- [Nix Flakes, Part 1: An introduction and tutorial (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-05-25-flakes/) -- [Nix Flakes, Part 2: Evaluation caching (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-06-25-eval-cache/) -- [Nix Flakes, Part 3: Managing NixOS systems (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-07-31-nixos-flakes/) -- [Practical Nix Flakes](https://serokell.io/blog/practical-nix-flakes) +- A series of tutorials by Eelco Dolstra(The creator of Nix) about Flakes: + - [Nix Flakes, Part 1: An introduction and tutorial (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-05-25-flakes/) + - [Nix Flakes, Part 2: Evaluation caching (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-06-25-eval-cache/) + - [Nix Flakes, Part 3: Managing NixOS systems (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-07-31-nixos-flakes/) +- Nix's official documentation: + - [Nix flakes - Nix Manual](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake) + - [Flakes - nix.dev](https://nix.dev/concepts/flakes) +- Other useful documents: + - [Practical Nix Flakes](https://serokell.io/blog/practical-nix-flakes) ## When Will Flakes Be Stabilized? diff --git a/docs/zh/nixos-with-flakes/introduction-to-flakes.md b/docs/zh/nixos-with-flakes/introduction-to-flakes.md index db5c151..19625bc 100644 --- a/docs/zh/nixos-with-flakes/introduction-to-flakes.md +++ b/docs/zh/nixos-with-flakes/introduction-to-flakes.md @@ -37,13 +37,18 @@ Flakes[^3],因此我们可以相当确定 Flakes 不会被废弃。 ## Flakes 入门 -我就不多介绍了,请直接参考如下文档: +限于个人精力,我不会在本书中详细介绍 Flakes 的使用, +请直接参考如下官方/半官方的文档。 -- [Flakes - nix.dev](https://nix.dev/concepts/flakes) -- [Nix Flakes, Part 1: An introduction and tutorial (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-05-25-flakes/) -- [Nix Flakes, Part 2: Evaluation caching (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-06-25-eval-cache/) -- [Nix Flakes, Part 3: Managing NixOS systems (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-07-31-nixos-flakes/) -- [Practical Nix Flakes](https://serokell.io/blog/practical-nix-flakes) +- Eelco Dolstra (Nix 的创造者)的一系列关于 Flakes 的文章: + - [Nix Flakes, Part 1: An introduction and tutorial (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-05-25-flakes/) + - [Nix Flakes, Part 2: Evaluation caching (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-06-25-eval-cache/) + - [Nix Flakes, Part 3: Managing NixOS systems (Eelco Dolstra, 2020)](https://www.tweag.io/blog/2020-07-31-nixos-flakes/) +- Nix 的官方文档: + - [Nix flakes - Nix Manual](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake) + - [Flakes - nix.dev](https://nix.dev/concepts/flakes) +- 其他可能有用的文档: + - [Practical Nix Flakes](https://serokell.io/blog/practical-nix-flakes) ## Flakes 何时会成为稳定特性? {#when-will-flakes-stablized}