about summary refs log tree commit diff
path: root/nixos/doc/manual/installation
diff options
context:
space:
mode:
authorMichal Sojka <michal.sojka@cvut.cz>2022-11-13 22:11:19 +0100
committerMichal Sojka <michal.sojka@cvut.cz>2022-11-13 22:11:19 +0100
commitee8ae2da4c3fe46c5aa40a80185861db9d45ba5c (patch)
treecc5a1426884a4f8f9e4f7aa3fb9daabbd0adff54 /nixos/doc/manual/installation
parentdcb2ea2fc5a12971e336a0fb167069a15a1bc288 (diff)
nixos/doc: fix installing from other distro
The nixos-generate-config command mentioned in the manual fails with error:

    nixos-generate-config: no need to specify `/` with `--root`, it is the default

This was introduced in 611b8c4472db0bde066b97960ccfe4671ffb89fb
(#161034). Now, the command should be called without any arguments.
Diffstat (limited to 'nixos/doc/manual/installation')
-rw-r--r--nixos/doc/manual/installation/installing-from-other-distro.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.section.md b/nixos/doc/manual/installation/installing-from-other-distro.section.md
index fa8806f791d52..b9ccf1415179e 100644
--- a/nixos/doc/manual/installation/installing-from-other-distro.section.md
+++ b/nixos/doc/manual/installation/installing-from-other-distro.section.md
@@ -148,7 +148,7 @@ The first steps to all these are the same:
     Generate your NixOS configuration:
 
     ```ShellSession
-    $ sudo `which nixos-generate-config` --root /
+    $ sudo `which nixos-generate-config`
     ```
 
     Note that this will place the generated configuration files in