From 1c603187ed36886a589a28c53bc10fe782eed595 Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Fri, 22 Sep 2023 11:52:42 -0400 Subject: [PATCH] docs(nix): add configuration notes to nix environment setup Benefits of a new laptop, running through setup instructions and finding the missing bits. --- docs/contribute/01_environment.qmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/contribute/01_environment.qmd b/docs/contribute/01_environment.qmd index 45a8b0c2d45b..f9fccdae6fbc 100644 --- a/docs/contribute/01_environment.qmd +++ b/docs/contribute/01_environment.qmd @@ -160,6 +160,14 @@ for manager, params in managers.items(): | **Windows** | {{< fa ban >}}[^unlikely] | {{< fa ban >}} | {{< fa ban >}} | 1. [Install `nix`](https://nixos.org/download.html) +1. Configure `nix` + + Edit/create your `nix.conf` file (`$XDG_CONFIG_HOME/nix/nix.conf`) and add the line + + ```sh + experimental-features = nix-command flakes + ``` + 1. Install `gh`: ::: {.panel-tabset}