After clean installation via NixOps, I logined to machine and executed
# nix-channel --update
This pulled ~130Mb of nixpkgs into my /nix/store
. How can I undo this?
To see the list of official NixOS channels, visit https://nixos.org/channels. Adds a channel named name with URL url to the list of subscribed channels. If name is omitted, it defaults to the last component of url, with the suffixes -stable or -unstable removed.
New stable channels are released every six months. Unstable channels ( nixos-unstable , nixpkgs-unstable ) correspond to the main development branch (master) of Nixpkgs, delivering the latest tested updates on a rolling basis.
The best way to keep your NixOS installation up to date is to use one of the NixOS channels. A channel is a Nix mechanism for distributing Nix expressions and associated binaries. The NixOS channels are updated automatically from NixOS's Git repository after certain tests have passed and all packages have been built.
On a normal Nix or NixOS install, if you've updated your channels by accident with nix-channel --update
, you can undo this by running
nix-channel --rollback
See the manual for more details.
On a NixOps installation, channels are configured but not actually used. See the other answer for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With