Just add a script in the same directory as configuration.nix that sets up your channels. This is one of various non-problems that flakes are supposed to solve.
You can also use fetchFromGithub if you want to pin to a particular version of nixpkgs, or anything else.
Just add a script in the same directory as configuration.nix that sets up your channels. This is one of various non-problems that flakes are supposed to solve.
You can also use fetchFromGithub if you want to pin to a particular version of nixpkgs, or anything else.