Skip to main content

Module url

Module url 

Source
Expand description

URL shorthand expansion.

Accepts the same shorthand Nix flakes do, plus friendly aliases:

  • github:<org>/<repo>https://github.com/<org>/<repo>.git
  • gitlab:<org>/<repo>https://gitlab.com/<org>/<repo>.git
  • codeberg:<org>/<repo>https://codeberg.org/<org>/<repo>.git
  • already-explicit URLs (https://…, ssh://…, git@…:…) pass through.

Functions§

expand_shorthand
Expand a shorthand to a concrete git clone-ready URL.