mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos: use only URI fragment in manual options links
This commit is contained in:
parent
9f7f6d2256
commit
b69b26c1a1
4 changed files with 9 additions and 13 deletions
|
@ -16,7 +16,7 @@ If NixOS fails to boot, there are a number of kernel command line parameters tha
|
||||||
|
|
||||||
`boot.debug1mounts`
|
`boot.debug1mounts`
|
||||||
|
|
||||||
: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](options.html#opt-fileSystems._name_.neededForBoot) on a file system.
|
: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](#opt-fileSystems._name_.neededForBoot) on a file system.
|
||||||
|
|
||||||
`boot.trace`
|
`boot.trace`
|
||||||
|
|
||||||
|
|
|
@ -96,13 +96,11 @@ the service on boot.
|
||||||
|
|
||||||
*User* systemd services on the other hand, should be treated
|
*User* systemd services on the other hand, should be treated
|
||||||
differently. Given a package that has a systemd unit file at
|
differently. Given a package that has a systemd unit file at
|
||||||
`#pkg-out#/lib/systemd/user/`, using
|
`#pkg-out#/lib/systemd/user/`, using [](#opt-systemd.packages) will
|
||||||
[`systemd.packages`](options.html#opt-systemd.packages) will
|
|
||||||
make you able to start the service via `systemctl --user start`, but it
|
make you able to start the service via `systemctl --user start`, but it
|
||||||
won\'t start automatically on login. However, You can imperatively
|
won\'t start automatically on login. However, You can imperatively
|
||||||
enable it by adding the package\'s attribute to
|
enable it by adding the package\'s attribute to
|
||||||
[`systemd.packages`](options.html#opt-systemd.packages)
|
[](#opt-systemd.packages) and then do this (e.g):
|
||||||
and then do this (e.g):
|
|
||||||
|
|
||||||
```ShellSession
|
```ShellSession
|
||||||
$ mkdir -p ~/.config/systemd/user/default.target.wants
|
$ mkdir -p ~/.config/systemd/user/default.target.wants
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
<link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link>).
|
<link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link>).
|
||||||
As a motivating example, this could be useful if you’ve
|
As a motivating example, this could be useful if you’ve
|
||||||
forgotten to set
|
forgotten to set
|
||||||
<link xlink:href="options.html#opt-fileSystems._name_.neededForBoot">neededForBoot</link>
|
<link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link>
|
||||||
on a file system.
|
on a file system.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
|
@ -109,13 +109,11 @@ systemd.packages = [ pkgs.packagekit ];
|
||||||
<emphasis>User</emphasis> systemd services on the other hand,
|
<emphasis>User</emphasis> systemd services on the other hand,
|
||||||
should be treated differently. Given a package that has a systemd
|
should be treated differently. Given a package that has a systemd
|
||||||
unit file at <literal>#pkg-out#/lib/systemd/user/</literal>, using
|
unit file at <literal>#pkg-out#/lib/systemd/user/</literal>, using
|
||||||
<link xlink:href="options.html#opt-systemd.packages"><literal>systemd.packages</literal></link>
|
<xref linkend="opt-systemd.packages" /> will make you able to
|
||||||
will make you able to start the service via
|
start the service via <literal>systemctl --user start</literal>,
|
||||||
<literal>systemctl --user start</literal>, but it won't start
|
but it won't start automatically on login. However, You can
|
||||||
automatically on login. However, You can imperatively enable it by
|
imperatively enable it by adding the package's attribute to
|
||||||
adding the package's attribute to
|
<xref linkend="opt-systemd.packages" /> and then do this (e.g):
|
||||||
<link xlink:href="options.html#opt-systemd.packages"><literal>systemd.packages</literal></link>
|
|
||||||
and then do this (e.g):
|
|
||||||
</para>
|
</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
$ mkdir -p ~/.config/systemd/user/default.target.wants
|
$ mkdir -p ~/.config/systemd/user/default.target.wants
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue