mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
doc: add experimental flags to examples
fixes https://github.com/nix-community/disko/issues/459
This commit is contained in:
parent
f84c368490
commit
c7f594c2ab
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue