Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ nix registry add beans "github:nixcafe/develop-templates"
nix flake init -t beans#${template_name}
```

| Template | Language |
| Template | Language / Use Case |
|---|---|
| `nix` (default) | Nix |
| `node` | Node.js / TS |
| `node` | Node.js / JavaScript / TypeScript |
| `python` | Python |
| `rust` | Rust |
| `java` | Java / JVM |
| `kotlin` | Kotlin / JVM |
| `latex` | LaTeX |
| `typst` | Typst |
| `nix-config` | NixOS config |
| `colmena-config` | NixOS + Colmena |
| `secrets` | Secrets (agenix/sops) |
| `secrets` | Secrets (agenix) |

## Development

Expand Down
120 changes: 77 additions & 43 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
url = "github:nixcafe-develop/kotlin";
flake = false;
};
templates-latex = {
url = "github:nixcafe-develop/latex";
flake = false;
};
templates-nix = {
url = "github:nixcafe-develop/nix";
flake = false;
Expand All @@ -42,6 +46,10 @@
url = "github:nixcafe-develop/rust";
flake = false;
};
templates-typst = {
url = "github:nixcafe-develop/typst";
flake = false;
};
templates-secrets = {
url = "github:nixcafe-develop/nix-secrets";
flake = false;
Expand Down
2 changes: 1 addition & 1 deletion templates/colmena-config/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "NixOS Configuration with Colmena Deployment";
description = "NixOS Configuration with Colmena deployment";
path = "${inputs.templates-colmena-config}";
welcomeText = ''
# Colmena Configuration Template
Expand Down
2 changes: 1 addition & 1 deletion templates/java/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Java development environment";
description = "Java development environment with GraalVM JDK, Maven, and Gradle";
path = "${inputs.templates-java}";
welcomeText = ''
# Java Template
Expand Down
2 changes: 1 addition & 1 deletion templates/kotlin/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Kotlin development environment";
description = "Kotlin development environment with GraalVM JDK, Kotlin compiler, and Gradle";
path = "${inputs.templates-kotlin}";
welcomeText = ''
# Kotlin Template
Expand Down
9 changes: 9 additions & 0 deletions templates/latex/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ inputs, ... }:
{
description = "LaTeX document authoring environment";
path = "${inputs.templates-latex}";
welcomeText = ''
# LaTeX Template
Run `nix develop` to enter the dev shell.
'';
}
2 changes: 1 addition & 1 deletion templates/nix-config/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "NixOS configuration";
description = "NixOS system configuration";
path = "${inputs.templates-nix-config}";
welcomeText = ''
# NixOS Configuration Template
Expand Down
2 changes: 1 addition & 1 deletion templates/nix/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Nix development environment";
description = "Nix development environment with nixfmt, deadnix, and statix (default template)";
path = "${inputs.templates-nix}";
welcomeText = ''
# Nix Template
Expand Down
2 changes: 1 addition & 1 deletion templates/node/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Node.js development environment";
description = "Node.js development environment with Node.js, Bun, Deno, and ni";
path = "${inputs.templates-node}";
welcomeText = ''
# Node.js Template
Expand Down
2 changes: 1 addition & 1 deletion templates/python/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Python development environment";
description = "Python development environment with auto-configured Python version, ruff, and hatchling";
path = "${inputs.templates-python}";
welcomeText = ''
# Python Template
Expand Down
2 changes: 1 addition & 1 deletion templates/rust/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Rust development environment";
description = "Rust development environment with cargo, rustc, clippy, rustfmt, and rust-analyzer source resolution";
path = "${inputs.templates-rust}";
welcomeText = ''
# Rust Template
Expand Down
2 changes: 1 addition & 1 deletion templates/secrets/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs, ... }:
{
description = "Secrets file management";
description = "Encrypted secrets management with agenix/ragenix and YubiKey support";
path = "${inputs.templates-secrets}";
welcomeText = ''
# Secrets Template
Expand Down
9 changes: 9 additions & 0 deletions templates/typst/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ inputs, ... }:
{
description = "Typst document authoring environment";
path = "${inputs.templates-typst}";
welcomeText = ''
# Typst Template
Run `nix develop` to enter the dev shell.
'';
}
Loading