1. 31

  2. 7

    you can specify a flake URI like github:${OWNER}/${REPO}#${ATTRIBUTE}

    I think you meant ${FORGE}:${OWNER}/${REPO}#${ATTRIBUTE}. Many alternatives exist and we should promote those! I see that this is followed with the clause that it’s for GitHub, but I’d still like to see the post being a bit more generic and inclusive.

    1. 4

      I wish there was a way to add more aliases, so that I could coalesce git+https://my.selfhosted.git.example.com/owner/repo.git to alias:owner/repo.

      1. 2
        1. 2

          Registry is not as useful as being able to define separate alias in form of my_alias:owner/repo.

          1. 2

            Unfortunately, the registry lets you add aliases for a specific flake. It does not currently support adding aliases for hosts or sources in general. I have considered writing a patch that adds what I want to nix before it’s compiled, but that’s much less portable.