From eded0a62b0034cc7e37fe3817676f1bf2a3741bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 21 Jul 2024 21:18:53 +0200 Subject: [PATCH 1/3] CONTRIBUTING: mention browser --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ce3310fbe..04ba9226f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,3 +19,5 @@ Run a local server: ```shell-session mkdocs serve ``` + +Open http://localhost:8000/ in your browser. From 5e16de17a346e70e58b856f1da4383144cd16fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 21 Jul 2024 22:05:07 +0200 Subject: [PATCH 2/3] docs/setup: also mention experimental option in case someone already has nix installed --- docs/site/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/site/index.md b/docs/site/index.md index ee2e0297a..67ad0f166 100644 --- a/docs/site/index.md +++ b/docs/site/index.md @@ -12,6 +12,14 @@ Create your own clan with these initial steps and manage a fleet of machines wit curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install ``` + If you already have installed Nix, make sure you have the `nix-command` and `flakes` configuration enabled in your ~/.config/nix/nix.conf. + The determinate installer already comes with this configuration by default. + + ```bash + # /etc/nix/nix.conf or ~/.config/nix/nix.conf + experimental-features = nix-command flakes + ``` + === "**NixOS**" If you run NixOS the `nix` binary is already installed. From 16e87c52e9d1c2f2ad3ff119a83c678162626a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 21 Jul 2024 22:05:27 +0200 Subject: [PATCH 3/3] docs/setup: recommends nixos configuration for nixos users --- docs/site/index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/site/index.md b/docs/site/index.md index 67ad0f166..74cc4bb7b 100644 --- a/docs/site/index.md +++ b/docs/site/index.md @@ -24,11 +24,10 @@ Create your own clan with these initial steps and manage a fleet of machines wit If you run NixOS the `nix` binary is already installed. - You will also need to enable the `flakes` and `nix-commands` experimental features. + You will also need to enable the `flakes` and `nix-commands` experimental features in your configuration.nix: - ```bash - # /etc/nix/nix.conf or ~/.config/nix/nix.conf - experimental-features = nix-command flakes + ```nix + { nix.settings.experimental-features = [ "nix-command" "flakes" ]; } ``` === "**Other**"