Skip to content

the default template url is hardcoded #339

@Malix-Labs

Description

@Malix-Labs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions