mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
disko-install: document --mode flag more
This commit is contained in:
1 parent
9fd80a030b
commit
fbbac1aee6
1 file changed
+3
@@ -6,6 +6,9 @@ showUsage() {
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: $0 [OPTIONS]
|
Usage: $0 [OPTIONS]
|
||||||
--mode MODE Specify the mode of operation. Valid modes are: format, mount.
|
--mode MODE Specify the mode of operation. Valid modes are: format, mount.
|
||||||
|
Format will format the disk before installing.
|
||||||
|
Mount will mount the disk before installing.
|
||||||
|
Mount is useful for updating an existing system without losing data.
|
||||||
-f, --flake FLAKE_URI#ATTR Use the specified flake to install the NixOS configuration.
|
-f, --flake FLAKE_URI#ATTR Use the specified flake to install the NixOS configuration.
|
||||||
--disk NAME DEVICE Map the specified disk name to the specified device path.
|
--disk NAME DEVICE Map the specified disk name to the specified device path.
|
||||||
--dry-run Print the commands that would be run, but do not run them.
|
--dry-run Print the commands that would be run, but do not run them.
|
||||||
|
|||||||
Reference in new issue
Block a user