Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
make simple disko config even simpler
  • Loading branch information
phaer authored and Mic92 committed Dec 20, 2023
1 parent b4104fc commit 3ca7507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ To access sample configurations for commonly-used disk layouts, refer to the
A simple disko configuration may look like this:

```
{ disks ? [ "/dev/vdb" ], ... }: {
{
disko.devices = {
disk = {
 vdb = {
  device = builtins.elemAt disks 0;
  device = "/dev/sda";
  type = "disk";
  content = {
   type = "gpt";
Expand Down Expand Up @@ -96,7 +96,7 @@ a disk named /dev/nvme0n1, you would run the following command to partition,
format and mount the disk.

```
$ sudo nix --experimental-features "nix-command flakes" 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
```

## Related Tools
Expand Down

0 comments on commit 3ca7507

Please sign in to comment.