mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: overhauled template system (WIP)
This commit is contained in:
parent
442b7b2e0e
commit
11eb077113
14 changed files with 330 additions and 125 deletions
7
scripts/project.sh
Normal file
7
scripts/project.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
if [ ! -d "$(pwd)/.git" ]; then
|
||||
git init
|
||||
fi
|
||||
nix flake init --template "$FLAKE"#"$1"
|
||||
direnv allow
|
||||
Loading…
Add table
Add a link
Reference in a new issue