mirror of
https://github.com/nix-community/disko.git
synced 2024-08-15 01:10:28 +03:00
docs: minor fixups
This commit is contained in:
parent
2e548efae3
commit
789e93d61c
@ -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" ]'
|
||||
```
|
||||
|
||||
## Related Tools
|
||||
|
||||
|
@ -40,7 +40,7 @@ If you use nix flakes support:
|
||||
</details>
|
||||
<details>
|
||||
<summary>niv</summary>
|
||||
|
||||
|
||||
First add it to [niv](https://github.com/nmattia/niv):
|
||||
|
||||
```console
|
||||
@ -91,7 +91,7 @@ $ nix-channel --update
|
||||
imports = let
|
||||
# replace this with an actual commit id or tag
|
||||
commit = "f2783a8ef91624b375a3cf665c3af4ac60b7c278";
|
||||
in [
|
||||
in [
|
||||
"${builtins.fetchTarball {
|
||||
url = "https://github.com/nix-community/disko/archive/${commit}.tar.gz";
|
||||
# replace this with an actual hash
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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)
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<img title="" src="./logo.jpeg" alt="" width="220">
|
||||
|
||||
[Documentation Index](./INDEX.md)
|
||||
[Documentation Index](./INDEX.md)
|
||||
|
||||
## System Requirements
|
||||
|
||||
TODO: Populate this
|
||||
TODO: Populate this
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<img title="" src="./logo.jpeg" alt="" width="220">
|
||||
|
||||
[Documentation Index](./INDEX.md)
|
||||
[Documentation Index](./INDEX.md)
|
||||
|
||||
## Support Matrix
|
||||
|
||||
TODO: Populate this
|
||||
TODO: Populate this
|
||||
|
Loading…
Reference in New Issue
Block a user