nix/flake.nix
2026-04-21 19:03:23 +02:00

40 lines
802 B
Nix

{
description = "nix flakes";
outputs =
{ self }:
{
templates = {
c = {
path = ./c;
description = "c template";
};
go = {
path = ./go;
description = "go template";
};
elixir = {
path = ./elixir;
description = "elixir template";
};
zig = {
path = ./zig;
description = "zig template";
};
odin = {
path = ./odin;
description = "odin template";
};
psql = {
path = ./psql;
description = "psql template";
};
crystal = {
path = ./crystal;
description = "crystal template";
};
};
defaultTemplate = self.templates.go;
};
}