summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-08-13 13:43:14 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2019-08-13 16:26:09 +0200
commit551230b7f66b625e2d7635935688da431d7edb8e (patch)
treeed335ca6686abead2a9d4cbb70409475f78891fd
parent86d143f58c888d44fd21ea16a61d5ab7ac2dc2f7 (diff)
downloadnixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar.gz
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar.bz2
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar.lz
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar.xz
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.tar.zst
nixpkgs-551230b7f66b625e2d7635935688da431d7edb8e.zip
nixos/doc: document that services defined with `systemd.users` aren't restarted by nixos-rebuild
-rw-r--r--nixos/doc/manual/installation/changing-config.xml7
-rw-r--r--nixos/doc/manual/man-nixos-rebuild.xml3
2 files changed, 9 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/changing-config.xml b/nixos/doc/manual/installation/changing-config.xml
index b77d71389a9..48193d986ab 100644
--- a/nixos/doc/manual/installation/changing-config.xml
+++ b/nixos/doc/manual/installation/changing-config.xml
@@ -14,6 +14,13 @@
   to build the new configuration, make it the default configuration for
   booting, and try to realise the configuration in the running system (e.g., by
   restarting system services).
+  <warning>
+   <para>
+    This command doesn't start/stop <link linkend="opt-systemd.user.services">user
+    services</link> automatically. <command>nixos-rebuild</command> only runs a
+    <literal>daemon-reload</literal> for each user with running user services.
+   </para>
+  </warning>
  </para>
  <warning>
   <para>
diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml
index 9cec83f1e28..493b5b9c578 100644
--- a/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixos/doc/manual/man-nixos-rebuild.xml
@@ -101,7 +101,8 @@
    NixOS module, you must run <command>nixos-rebuild</command> to make the
    changes take effect. It builds the new system in
    <filename>/nix/store</filename>, runs its activation script, and stop and
-   (re)starts any system services if needed.
+   (re)starts any system services if needed. Please note that user services need
+   to be started manually as they aren't detected by the activation script at the moment.
   </para>
   <para>
    This command has one required argument, which specifies the desired