docs: standardize code blocks

This commit is contained in:
NAHO committed 2023-12-21 16:53:16 +01:00
1 parent a050895e4e
commit 549c5c933a
4 files changed
+36 -37

No files matched your search

+3 -3
View File
@@ -57,7 +57,7 @@ To access sample configurations for commonly-used disk layouts, refer to the
A simple disko configuration may look like this:
```
```nix
{
disko.devices = {
disk = {
@@ -95,8 +95,8 @@ If you'd saved this configuration in /tmp/disko-config.nix, and wanted to create
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
```bash
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disko-config.nix
```
## Related Tools