diff --git a/doc/manual/installation.xml b/doc/manual/installation.xml index 5b116bbd060d..b73da06b5c2f 100644 --- a/doc/manual/installation.xml +++ b/doc/manual/installation.xml @@ -365,22 +365,26 @@ whether everything compiles cleanly. Keeping NixOS up to date The currently best way to keep your NixOS installation up to -date is to track the NixOS Subversion repository. You should replace -the static NixOS/Nixpkgs sources installed in -/etc/nixos with a Subversion checkout. The -program nixos-checkout does that for you (and it -also installs Subversion into your current profile). +date is to track the NixOS Subversion repository. The program +nixos-checkout does that for you. It will +check if the NixOS/NixPkgs sources are present and if they are under a +version control system (VCS) before updating them to the latest version. If your +sources are not under a VCS, then you can rename them before +running nixos-checkout which will checkout the sources. To build the latest and greatest, do -$ svn up /etc/nixos/nixos -$ svn up /etc/nixos/nixpkgs +$ nixos-checkout $ nixos-rebuild switch (Or instead of switch, use any of the alternatives shown in .) +To customize your VCS or to handle more repositories with +nixos-checkout, you can have a look at the +options +and .