https://github.com/NixOS/nix/issues/4017
Has anyone written a dumb solution to extend nix flake ..
with basic template vars support?
nix flake init -t github:juspay/nix-dev-home \
--override-input username "https://nixid.page/str/srid"
Where nixid.page/<type>/<val>
will dynamically serve a flake outputting that expression. :open_mouth:
As a bandaid for https://github.com/NixOS/nix/issues/5663
Grr, --override-input
is unsupported for this subcommand.
There's --override-flake
, though.
Last updated: Nov 15 2024 at 12:33 UTC