diff --git a/nixos/doc/manual/configuration/declarative-packages.xml b/nixos/doc/manual/configuration/declarative-packages.xml index bf743024454..c9acbefea60 100644 --- a/nixos/doc/manual/configuration/declarative-packages.xml +++ b/nixos/doc/manual/configuration/declarative-packages.xml @@ -14,10 +14,9 @@ = [ pkgs.thunderbird ]; - The pkgs variable is used to reference packages in your - root channel. The effect of this specification is that the Thunderbird - package from your root Nixpkgs channel will be built or downloaded as part of - the system when you run nixos-rebuild switch. + The effect of this specification is that the Thunderbird package from Nixpkgs + will be built or downloaded as part of the system when you run + nixos-rebuild switch. @@ -28,10 +27,13 @@ nixos.firefox firefox-23.0 Mozilla Firefox - the browser, reloaded ... The first column in the output is the attribute name, - such as nixos.thunderbird. The nixos - prefix tells us that we want to get the package from the `nixos` channel. - Some systems have other channels installed, such as `nixpkgs` or custom - channels for development purposes. + such as nixos.thunderbird. + + + Note: the nixos prefix tells us that we want to get the + package from the nixos channel and works only in CLI tools. + + In declarative configuration use pkgs prefix (variable).