dev-flakes/flake.nix
2025-01-13 06:19:48 -06:00

42 lines
1.1 KiB
Nix

{
inputs = { };
outputs =
{ self }:
{
templates = {
simple = {
path = ./templates/simple;
description = "A simple template for a devenv-flake";
welcomeText = ''
# `.devenv` and `.direnv` should be added to `.gitignore`
```sh
echo .devenv >> .gitignore
echo .direnv >> .gitignore
```
'';
};
python = {
path = ./templates/python;
description = "A Python template for a devenv-flake";
welcomeText = ''
# `.devenv` and `.direnv` should be added to `.gitignore`
```sh
echo .devenv >> .gitignore
echo .direnv >> .gitignore
```
'';
};
dotnet = {
path = ./templates/dotnet;
description = "A .NET template for a flake";
welcomeText = ''
# `.direnv` should be added to `.gitignore`
```sh
echo .direnv >> .gitignore
```
'';
};
default = self.templates.simple;
};
};
}