summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-10-27 23:36:04 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2021-10-28 12:08:37 +0200
commitf6fffb2722f3382159cec81a90b7d04e2884324a (patch)
tree45b91f661141d1d8b336829edb1ef4f70989b4b9 /nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml
parented814a4586e9d84fe3d209ebaf109cce3938154e (diff)
downloadnixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar.gz
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar.bz2
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar.lz
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar.xz
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.tar.zst
nixpkgs-f6fffb2722f3382159cec81a90b7d04e2884324a.zip
Nixos manual: nixos-rebuild boot or switch to clear boot entries
the `nixos-rebuild` command has multiple subcommands, and not each of
them would fix the problem of a large `/boot` partition, so let’s be
more precise here.
Diffstat (limited to 'nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml')
-rw-r--r--nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml b/nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml
index 0ca98dd6e51..4243d2bf53f 100644
--- a/nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml
+++ b/nixos/doc/manual/from_md/administration/cleaning-store.chapter.xml
@@ -64,7 +64,8 @@ $ nix-store --optimise
     <para>
       If your <literal>/boot</literal> partition runs out of space,
       after clearing old profiles you must rebuild your system with
-      <literal>nixos-rebuild</literal> to update the
+      <literal>nixos-rebuild boot</literal> or
+      <literal>nixos-rebuild switch</literal> to update the
       <literal>/boot</literal> partition and clear space.
     </para>
   </section>