mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03: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
@ -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 New Issue
Block a user