.dotfiles/files/scripts/project.sh
2025-07-04 18:26:00 +02:00

7 lines
120 B
Bash

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