Skip to content

Managing Package Channels

Channels are how Grove controls which versions of packages you get. Think of them as different “streams” of packages - some have the latest and greatest, others focus on stability.

To see all the channels you’ve got configured:

Terminal window
kanuka grove channel list

This shows you all your channels along with their URLs and current versions.

You can add custom channels for specific package versions:

Terminal window
# Add a specific nixpkgs branch
kanuka grove channel add nixos-22-11 github:NixOS/nixpkgs/nixos-22.11
# Add a custom channel
kanuka grove channel add my-packages github:myorg/my-nixpkgs

If you no longer need a channel:

Terminal window
kanuka grove channel remove <channel-name>

To lock a channel to a specific version:

Terminal window
kanuka grove channel pin nixpkgs-stable abc123def456

To update your channels to the latest versions:

Terminal window
kanuka grove channel update

To learn more about kanuka grove channel, see the channel management concepts and the command reference.

Or, continue reading to learn how to build containers from your environment.