feat: overhauled template system (WIP)

This commit is contained in:
Leon Schwarzäugl 2024-12-31 13:39:03 +01:00
parent 442b7b2e0e
commit 11eb077113
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
14 changed files with 330 additions and 125 deletions

7
scripts/project.sh Normal file
View file

@ -0,0 +1,7 @@
set -euo pipefail
if [ ! -d "$(pwd)/.git" ]; then
git init
fi
nix flake init --template "$FLAKE"#"$1"
direnv allow