diff --git a/templates/nextjs/flake.nix b/templates/nextjs/flake.nix index 3dde900..3185f24 100644 --- a/templates/nextjs/flake.nix +++ b/templates/nextjs/flake.nix @@ -12,7 +12,6 @@ systems = import inputs.systems; imports = [ ./nix/modules/devshell.nix - ./nix/modules/template.nix ]; }; } diff --git a/templates/nextjs/nix/modules/template.nix b/templates/nextjs/nix/modules/template.nix deleted file mode 100644 index a167e16..0000000 --- a/templates/nextjs/nix/modules/template.nix +++ /dev/null @@ -1,41 +0,0 @@ -{inputs, ...}: let - root = inputs.self; -in { - flake = rec { - templates = { - default = { - description = "Minimal JavaScript template with Vite and Bun"; - path = "${root}/vanilla"; - }; - - nextjs = { - description = "Next.js TypeScript template with App Router"; - path = "${root}/nextjs"; - }; - }; - - om.templates = { - default = { - template = templates.default; - params = [ - { - name = "package-name"; - description = "Name of the JavaScript package"; - placeholder = "my-project"; - } - ]; - }; - - nextjs = { - template = templates.nextjs; - params = [ - { - name = "package-name"; - description = "Name of the Next.js project"; - placeholder = "my-nextjs-app"; - } - ]; - }; - }; - }; -} diff --git a/templates/vanilla/flake.nix b/templates/vanilla/flake.nix index 3dde900..3185f24 100644 --- a/templates/vanilla/flake.nix +++ b/templates/vanilla/flake.nix @@ -12,7 +12,6 @@ systems = import inputs.systems; imports = [ ./nix/modules/devshell.nix - ./nix/modules/template.nix ]; }; } diff --git a/templates/vanilla/nix/modules/devshell.nix b/templates/vanilla/nix/modules/devshell.nix index ca858e0..6b88beb 100644 --- a/templates/vanilla/nix/modules/devshell.nix +++ b/templates/vanilla/nix/modules/devshell.nix @@ -22,7 +22,6 @@ in { [ bun nodejs - typescript eslint just prettierd diff --git a/templates/vanilla/nix/modules/template.nix b/templates/vanilla/nix/modules/template.nix deleted file mode 100644 index a167e16..0000000 --- a/templates/vanilla/nix/modules/template.nix +++ /dev/null @@ -1,41 +0,0 @@ -{inputs, ...}: let - root = inputs.self; -in { - flake = rec { - templates = { - default = { - description = "Minimal JavaScript template with Vite and Bun"; - path = "${root}/vanilla"; - }; - - nextjs = { - description = "Next.js TypeScript template with App Router"; - path = "${root}/nextjs"; - }; - }; - - om.templates = { - default = { - template = templates.default; - params = [ - { - name = "package-name"; - description = "Name of the JavaScript package"; - placeholder = "my-project"; - } - ]; - }; - - nextjs = { - template = templates.nextjs; - params = [ - { - name = "package-name"; - description = "Name of the Next.js project"; - placeholder = "my-nextjs-app"; - } - ]; - }; - }; - }; -}