templates/flake.nix

18 lines
409 B
Nix
Raw Normal View History

2022-08-31 23:20:14 +03:00
{
description = "My personal templates";
outputs = { self }: {
templates = {
2022-09-07 01:17:06 +03:00
flake-base = {
path = ./flakes/base;
2022-08-31 23:24:24 +03:00
description = "An empty flake for each default system";
};
2022-09-07 01:17:06 +03:00
flake-rust = {
path = ./flakes/rust;
2022-09-06 00:01:28 +03:00
description = "Flake to develop, build and run a rust application";
};
2022-08-31 23:20:14 +03:00
};
2022-09-07 01:17:06 +03:00
defaultTemplate = self.templates.flake-base;
2022-08-31 23:20:14 +03:00
};
}