mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 22:13:28 +01:00
docs: standardize code blocks
This commit is contained in:
4 files changed
+36
-37
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user