dev-flakes/flake.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2025-01-13 05:23:00 -06:00
{
2025-01-13 05:44:30 -06:00
inputs = { };
2025-01-13 05:23:00 -06:00
outputs =
2025-01-13 05:44:30 -06:00
{ self }:
2025-01-13 05:23:00 -06:00
{
2025-01-13 05:44:30 -06:00
templates = {
2025-01-13 05:46:29 -06:00
simple = {
path = ./templates/simple;
description = "A simple template for a devenv-flake";
2025-01-13 05:44:30 -06:00
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
```
'';
};
2025-01-13 06:19:48 -06:00
dotnet = {
path = ./templates/dotnet;
description = "A .NET template for a flake";
welcomeText = ''
# `.direnv` should be added to `.gitignore`
```sh
echo .direnv >> .gitignore
```
'';
};
2025-01-13 05:46:29 -06:00
default = self.templates.simple;
2025-01-13 05:44:30 -06:00
};
2025-01-13 05:23:00 -06:00
};
}