Channel branches: Difference between revisions
imported>Ixxie No edit summary |
imported>Fadenb →The official channels: fix references to stable version to 18.03 |
||
Line 12: | Line 12: | ||
* Stable/unstable: | * Stable/unstable: | ||
** Stable channels (<code>nixos- | ** Stable channels (<code>nixos-18.03</code>) provide conservative updates for fixing bugs and security vulnerabilities, but do not receive major updates after initial release. New stable channels are released every six months. | ||
** Unstable channels (<code>nixos-unstable</code>, <code>nixos-unstable-small</code>) correspond to the main development branch of Nixpkgs, delivering the latest tested updates on a rolling basis. | ** Unstable channels (<code>nixos-unstable</code>, <code>nixos-unstable-small</code>) correspond to the main development branch of Nixpkgs, delivering the latest tested updates on a rolling basis. | ||
* Large/small: | * Large/small: | ||
** Large channels (<code>nixos- | ** Large channels (<code>nixos-18.03</code>, <code>nixos-unstable</code>) provide binary builds for the full breadth of Nixpkgs. | ||
** Small channels (<code>nixos- | ** Small channels (<code>nixos-18.03-small</code>, <code>nixos-unstable-small</code>) are identical to large channels, but contain fewer binaries. This means they update faster, but require more to be built from source. | ||
Most users will want the stable/large channel, currently <code>nixos- | Most users will want the stable/large channel, currently <code>nixos-18.03</code>. | ||
Like packages installed via <code>nix-env</code>, channels are managed at user-level. NixOS uses the channels set for the <code>root</code> user to update the system-wide configuration; channels set for other users control only the user environment for that user. If you wish to change the channel used by the system-level configuration (<code>/etc/nixos/configuration.nix</code>), ensure you run the correct <code>nix-channel</code> command as root: | Like packages installed via <code>nix-env</code>, channels are managed at user-level. NixOS uses the channels set for the <code>root</code> user to update the system-wide configuration; channels set for other users control only the user environment for that user. If you wish to change the channel used by the system-level configuration (<code>/etc/nixos/configuration.nix</code>), ensure you run the correct <code>nix-channel</code> command as root: |