3 ms·
Basically, albeit a bit more verbose. If you're looking to do this on a per-project basis, then yeah Flakes would be a good choice. See https://nixos.wiki/wiki
by notemaker 5y ago
Basically, albeit a bit more verbose. If you're looking to do this on a per-project basis, then yeah Flakes would be a good choice.
See https://nixos.wiki/wiki/Flakes#Input_schema https://nixos.wiki/wiki/Flakes#Input_schema for some idea on how it would look.
The main obstacle for you here is learning the Nix language and how to use it for nix packages. It's not an easy task, but it does meet your requirements.
https://nix.dev/ https://nix.dev/ is a good resource in addition to https://nixos.org/manual/nixos/stable/ https://nixos.org/manual/nixos/stable/ and https://nixos.org/guides/nix-pills/ https://nixos.org/guides/nix-pills/