diff --git a/nix/modules/template.nix b/nix/modules/template.nix index c7373dd..9e91bf4 100644 --- a/nix/modules/template.nix +++ b/nix/modules/template.nix @@ -15,7 +15,7 @@ in { }; om.templates = { - default = { + vanilla = { template = templates.default; params = [ { diff --git a/templates/nextjs/flake.nix b/templates/nextjs/flake.nix index 3185f24..a307145 100644 --- a/templates/nextjs/flake.nix +++ b/templates/nextjs/flake.nix @@ -1,5 +1,5 @@ { - description = "Nix templates for JavaScript projects, powered by Bun"; + description = "Next.js TypeScript project with App Router, Bun, and Nix"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; diff --git a/templates/vanilla/flake.nix b/templates/vanilla/flake.nix index 3185f24..9b9385e 100644 --- a/templates/vanilla/flake.nix +++ b/templates/vanilla/flake.nix @@ -1,5 +1,5 @@ { - description = "Nix templates for JavaScript projects, powered by Bun"; + description = "Vanilla JavaScript project with Vite, Bun, and Nix"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; diff --git a/templates/vanilla/package.json b/templates/vanilla/package.json index 9cf1dc5..50f912c 100644 --- a/templates/vanilla/package.json +++ b/templates/vanilla/package.json @@ -1,5 +1,5 @@ { - "name": "javascript-template", + "name": "{{package-name}}", "version": "1.0.0", "type": "module", "scripts": {