templates/flake.nix
2022-09-13 23:38:27 +03:00

31 lines
839 B
Nix

{
description = "My personal templates";
outputs = { self }: {
templates = {
# flakes
flake-base = {
path = ./flakes/base;
description = "An empty flake for each default system";
};
flake-rust = {
path = ./flakes/rust;
description = "Flake to develop, build and run a rust application";
};
flake-haskell = {
path = ./flakes/haskell;
description = "Flake to develop haskell application";
};
flake-jupyter = {
path = ./flakes/jupyter;
description = "Flake to configure jupyter lab";
};
# starters
starter-typescript = {
path = ./starters/typescript;
description = "Basic configuration for the typescript project";
};
};
defaultTemplate = self.templates.flake-base;
};
}