doc: add experimental flags to examples

fixes https://github.com/nix-community/disko/issues/459
This commit is contained in:
Jörg Thalheim 2023-12-06 23:48:26 +01:00 committed by mergify[bot]
parent f84c368490
commit c7f594c2ab
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
```