From c7f594c2ab3c76ebbfb8afb74ee6ac0d3f633596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 6 Dec 2023 23:48:26 +0100 Subject: [PATCH] doc: add experimental flags to examples fixes https://github.com/nix-community/disko/issues/459 --- README.md | 2 +- docs/quickstart.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60febc6..d413a06 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ a disk named /dev/nvme0n1, you would run the following command to partition, format and mount the disk. ``` -$ sudo nix run github:nix-community/disko -- --mode disko /tmp/disko-config.nix --arg disks '[ "/dev/nvme0n1" ]' +$ sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko-config.nix --arg disks '[ "/dev/nvme0n1" ]' ``` ## Related Tools diff --git a/docs/quickstart.md b/docs/quickstart.md index fdcea24..4c0868e 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -107,7 +107,7 @@ The following step will partition and format your disk, and mount it to `/mnt`. **Please note: This will erase any existing data on your disk.** ``` -$ sudo nix run github:nix-community/disko -- --mode disko /tmp/disko-config.nix +$ sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko-config.nix ```