Fix flake.nix creation in project-init

This commit is contained in:
coolneng 2021-10-09 22:57:45 +02:00
parent 1b545c45da
commit 0ebcc28ec2
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ type=$1
if [ "$type" = "git" ]; then
git init
cp ~/Documents/IT/shell.nix .
cp ~/Documents/IT/flake-template.nix.nix flake.nix
cp ~/Documents/IT/flake-template.nix flake.nix
mkdir src data
git add ./*
git commit -m "Initial commit"
@ -29,7 +29,7 @@ elif [ "$type" = "remote-git" ]; then
touch README.org
cp ~/Documents/IT/gpl-3.0.md LICENSE.md
cp ~/Documents/IT/shell.nix .
cp ~/Documents/IT/flake-template.nix.nix flake.nix
cp ~/Documents/IT/flake-template.nix flake.nix
mkdir src tests data
git add ./*
git commit -m "Initial commit"