diff --git a/README.md b/README.md index 2709769..963e2ea 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # nxt ## ✒️ Description + > Simple wrapper for nix-templates created using nix & charmbracelet's gum `nxt` was created to facilitate the creation of projects using [nix-templates](https://github.com/MordragT/nix-templates) diff --git a/nxt.sh b/nxt.sh index b7f1645..a17fa50 100755 --- a/nxt.sh +++ b/nxt.sh @@ -1,85 +1,84 @@ #!/bin/env bash -android(){ +android() { nix flake init -t github:MordragT/nix-templates#android } -angular(){ +angular() { nix flake init -t github:MordragT/nix-templates#angular } -cpp(){ +cpp() { nix flake init -t github:MordragT/nix-templates#cpp } -deno(){ +deno() { nix flake init -t github:MordragT/nix-templates#deno } -kotlin(){ +kotlin() { nix flake init -t github:MordragT/nix-templates#kotlin } -mdbook(){ +mdbook() { nix flake init -t github:MordragT/nix-templates#deno } -python-micromamba(){ +python-micromamba() { nix flake init -t github:MordragT/nix-templates#python-micromamba } -python-poetry(){ +python-poetry() { nix flake init -t github:MordragT/nix-templates#python-poetry } -python-venv(){ +python-venv() { nix flake init -t github:MordragT/nix-templates#python-poetry } -python(){ +python() { nix flake init -t github:MordragT/nix-templates#python } -rust-nightly(){ +rust-nightly() { nix flake init -t github:MordragT/nix-templates#rust-nightly } -rust-stable(){ +rust-stable() { nix flake init -t github:MordragT/nix-templates#rust-stable } -slides-fh-aachen(){ +slides-fh-aachen() { nix flake init -t github:MordragT/nix-templates#slides-fh-aachen } -slides(){ +slides() { nix flake init -t github:MordragT/nix-templates#slides } -stm32-platformio(){ +stm32-platformio() { nix flake init -t github:MordragT/nix-templates#stm32-platformio } -svelte-tailwind(){ +svelte-tailwind() { nix flake init -t github:MordragT/nix-templates#svelte-tailwind } -tauri(){ +tauri() { nix flake init -t github:MordragT/nix-templates#tauri } -tex(){ +tex() { nix flake init -t github:MordragT/nix-templates#tex } -trivial(){ +trivial() { nix flake init -t github:MordragT/nix-templates#trivial } -typst(){ +typst() { nix flake init -t github:MordragT/nix-templates#typst } -run=$(gum choose "android" "angular" "cpp" "deno" "kotlin" "mdbook" "python-micromamba" "python-poetry" "python-venv" "python" "rust-nightly" "rust-stable" "slides-fh-aachen" "slides" "stm32-platformio" "svelte-tailwind" "tauri" "tex" "trivial" "typst") && \ - -$run +run=$(gum choose "android" "angular" "cpp" "deno" "kotlin" "mdbook" "python-micromamba" "python-poetry" "python-venv" "python" "rust-nightly" "rust-stable" "slides-fh-aachen" "slides" "stm32-platformio" "svelte-tailwind" "tauri" "tex" "trivial" "typst") && + $run