This commit is contained in:
sadan 2024-12-18 18:54:34 -05:00
parent 7dd6913f08
commit 0a7223bd6b
No known key found for this signature in database
6 changed files with 176 additions and 101 deletions

View file

@ -0,0 +1,7 @@
if [ ! -e flake.nix ]; then
nix flake new -t github:nix-community/nix-direnv .
elif [ ! -e .envrc ]; then
echo "use flake" > .envrc
direnv allow
fi
${EDITOR:-vim} flake.nix