|
std::string templateUrl = "https://flakehub.com/f/DeterminateSystems/flake-templates/0.1"; |
It is thus impossible to override the default template URL using a nix config while using determinate nix since the template registry is shortcutted
An enhancement would be to move that to https://github.com/DeterminateSystems/determinate to make it overridable, just like how the nixpkgs registry is currently set using mkPreferable:
https://github.com/DeterminateSystems/determinate/blob/1b3259b71c81508ffd409114525df6a55c0f337f/modules/nixos.nix#L33-L47
Related
nix-src/src/nix/flake.cc
Line 891 in c9f71f3
It is thus impossible to override the default template URL using a nix config while using determinate nix since the
templateregistry is shortcuttedAn enhancement would be to move that to https://github.com/DeterminateSystems/determinate to make it overridable, just like how the
nixpkgsregistry is currently set usingmkPreferable:https://github.com/DeterminateSystems/determinate/blob/1b3259b71c81508ffd409114525df6a55c0f337f/modules/nixos.nix#L33-L47
Related