I managed to build my own custom NixOS ISO with this command:
nix-build '<nixpkgs/nixos>' \ -A config.system.build.isoImage \ -I nixpkgs=channel:nixos-19.09-small \ -I nixos-config=iso.nix
iso.nix is my custom configuration.
The ISO is build with the
nixos-19.09-small channel thanks to the
-I nixpkgs=… option.
However, when I install a new machine with this ISO and I run
nix-channel --list from it, I get:
Is there a way to change the default channel that root is subscribed to? In my case, I would like the default channel to be