mirror of
https://github.com/sajenim/javascript-template.git
synced 2025-12-16 11:30:38 +08:00
The root flake only defines templates. Each template (templates/vanilla/ and templates/nextjs/) contains its own complete Nix configuration with devshell, so root-level development environment is unnecessary.
17 lines
438 B
Nix
17 lines
438 B
Nix
{
|
|
description = "Nix templates for JavaScript projects, powered by Bun";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
systems.url = "github:nix-systems/default";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = inputs:
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = import inputs.systems;
|
|
imports = [
|
|
./nix/modules/template.nix
|
|
];
|
|
};
|
|
}
|