javascript-template/nix/modules/template.nix
jasmine 6f67a0dc1a
Initial commit: minimal JavaScript template with Nix
Features:
- Nix + Flakes for reproducible environments
- Bun (fast JavaScript runtime)
- Vite (development server & build tool)
- ESLint + Prettier (linting & formatting)
- Devshell commands via just
- Modular structure using flake-parts
- Omnix template support for initialization
2025-10-27 21:24:12 +08:00

19 lines
446 B
Nix

{inputs, ...}: {
flake = rec {
templates.default = {
description = "A minimal JavaScript project template with Bun and Nix";
path = inputs.self;
};
om.templates.javascript-template = {
template = templates.default;
params = [
{
name = "package-name";
description = "Name of the JavaScript package";
placeholder = "javascript-template";
}
];
};
};
}