With Nix's Flake being the future of nix and a better solution than the current combo of NIX_PATH/nix-channel.
I refactored my NixOS configuration but often needed a way to pass flake's inputs to nixos configurations top modules.
After digging a bit in the nixos build system, I found that SpecialArgs can be used to pass arbitrary arguments to modules.