.dotfiles/scripts/project.sh
2024-12-31 13:39:03 +01: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