mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
cli/default: refactor to use more code from lib
This commit is contained in:
1 parent
cdaff66b57
commit
f6649d69d9
4 files changed
+36
-39
No files matched your search
@@ -85,7 +85,7 @@ 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.
|
||||
|
||||
```
|
||||
$ 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 disko /tmp/disko-config.nix --arg disks '[ "/dev/nvme0n1" ]'
|
||||
```
|
||||
|
||||
## Related Tools
|
||||
|
||||
Reference in new issue
Block a user