docs: minor fixups

This commit is contained in:
lassulus 2023-06-05 10:23:08 +02:00
parent 2e548efae3
commit 789e93d61c
5 changed files with 10 additions and 8 deletions

View file

@ -82,9 +82,11 @@ A simple disko configuration may look like this:
} }
``` ```
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. 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 run github:nix-community/disko -- --mode zap_create_mount /tmp/disko-config.nix --arg disks '[ "/dev/nvme0n1" ]' $ sudo nix run github:nix-community/disko -- --mode zap_create_mount /tmp/disko-config.nix --arg disks '[ "/dev/nvme0n1" ]'
```
## Related Tools ## Related Tools

View file

@ -40,7 +40,7 @@ If you use nix flakes support:
</details> </details>
<details> <details>
<summary>niv</summary> <summary>niv</summary>
First add it to [niv](https://github.com/nmattia/niv): First add it to [niv](https://github.com/nmattia/niv):
```console ```console
@ -91,7 +91,7 @@ $ nix-channel --update
imports = let imports = let
# replace this with an actual commit id or tag # replace this with an actual commit id or tag
commit = "f2783a8ef91624b375a3cf665c3af4ac60b7c278"; commit = "f2783a8ef91624b375a3cf665c3af4ac60b7c278";
in [ in [
"${builtins.fetchTarball { "${builtins.fetchTarball {
url = "https://github.com/nix-community/disko/archive/${commit}.tar.gz"; url = "https://github.com/nix-community/disko/archive/${commit}.tar.gz";
# replace this with an actual hash # replace this with an actual hash

View file

@ -1,6 +1,6 @@
# disko - Declarative disk partitioning # disko - Declarative disk partitioning
<img src="./logo.jpeg" title="" alt="Project logo" width="247"> <img src="./logo.jpeg" title="" alt="Project logo" width="247">
[Documentation Index](./INDEX.md) [Documentation Index](./INDEX.md)

View file

@ -2,8 +2,8 @@
<img title="" src="./logo.jpeg" alt="" width="220"> <img title="" src="./logo.jpeg" alt="" width="220">
[Documentation Index](./INDEX.md) [Documentation Index](./INDEX.md)
## System Requirements ## System Requirements
TODO: Populate this TODO: Populate this

View file

@ -2,8 +2,8 @@
<img title="" src="./logo.jpeg" alt="" width="220"> <img title="" src="./logo.jpeg" alt="" width="220">
[Documentation Index](./INDEX.md) [Documentation Index](./INDEX.md)
## Support Matrix ## Support Matrix
TODO: Populate this TODO: Populate this