dev-flakes/flake.nix
2025-01-13 05:44:30 -06:00

31 lines
807 B
Nix

{
inputs = { };
outputs =
{ self }:
{
templates = {
default = {
path = ./templates/default;
description = "A default 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
```
'';
};
};
};
}