mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
Create reference.md
Moved some stuff from original README in here; still needs some editing
This commit is contained in:
parent
ba26a1dcf3
commit
bd18ca94bd
1 changed files with 32 additions and 0 deletions
32
docs/reference.md
Normal file
32
docs/reference.md
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Reference Manual: disko
|
||||||
|
|
||||||
|
## Module Options
|
||||||
|
|
||||||
|
TODO: Still to be documented
|
||||||
|
|
||||||
|
## # Reference Manual: disko
|
||||||
|
|
||||||
|
## Command Line Options
|
||||||
|
|
||||||
|
```
|
||||||
|
$ nix run github:nix-community/disko --
|
||||||
|
disko [options] disk-config.nix
|
||||||
|
or disko [options] --flake github:somebody/somewhere
|
||||||
|
Options:
|
||||||
|
* -m, --mode mode
|
||||||
|
set the mode, either create or mount
|
||||||
|
* -f, --flake uri
|
||||||
|
fetch the disko config relative to this flake's root
|
||||||
|
* --arg name value
|
||||||
|
pass value to nix-build. can be used to set disk-names for example
|
||||||
|
* --argstr name value
|
||||||
|
pass value to nix-build as string
|
||||||
|
* --root-mountpoint /mnt
|
||||||
|
where to mount the device tree
|
||||||
|
* --dry-run
|
||||||
|
just show the path to the script instead of running it
|
||||||
|
* --debug
|
||||||
|
run with set -x
|
||||||
|
```
|
||||||
|
|
||||||
|
##
|
||||||
Loading…
Add table
Add a link
Reference in a new issue