Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
qrxnz committed Dec 24, 2024
1 parent c61b1c0 commit e6ad8f5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
45 changes: 22 additions & 23 deletions nxt.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e6ad8f5

Please sign in to comment.