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 611b8c4472
(#161034). Now, the command should be called without any arguments.
This commit is contained in:
parent
dcb2ea2fc5
commit
ee8ae2da4c
2 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ $ sudo groupdel nixbld
|
|||
Generate your NixOS configuration:
|
||||
</para>
|
||||
<programlisting>
|
||||
$ sudo `which nixos-generate-config` --root /
|
||||
$ sudo `which nixos-generate-config`
|
||||
</programlisting>
|
||||
<para>
|
||||
Note that this will place the generated configuration files in
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue