flake.nix
1{
2 # devkit is also usable as a `nix flake init` template:
3 #
4 # mkdir newthing && cd newthing
5 # nix flake init -t path:/home/btburke/projects/devkit
6 #
7 # (or `-t git+https://git.kilimanjaro.io/devenv-base` once published).
8 # NOTE: `devenv init` has no template flag (#1718); `--from` only affects
9 # `devenv shell`/`test`/`build`, not `init`. Use the flake template above.
10 description = "devkit - personal devenv module and new-project template";
11
12 outputs = { self }: {
13 templates.default = {
14 description = "New project wired to devkit (tools + customized bash env)";
15 path = ./template;
16 };
17 templates.devkit = self.templates.default;
18 };
19}