Commit ee8ae2da authored by Michal Sojka's avatar Michal Sojka
Browse files

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 611b8c44
(#161034). Now, the command should be called without any arguments.
parent dcb2ea2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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