From 7a33bc6823b19eefa91451e2ffdd76d76f488cf3 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 20 Oct 2022 10:26:36 +0200 Subject: [PATCH] Change location of nix files in project-init --- scripts/.local/share/scripts/project-init | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/.local/share/scripts/project-init b/scripts/.local/share/scripts/project-init index 2d99f36..80cf56d 100755 --- a/scripts/.local/share/scripts/project-init +++ b/scripts/.local/share/scripts/project-init @@ -13,13 +13,13 @@ usage() { copy_nix_files() { if [ "$1" = "flake" ]; then - cp ~/Documents/IT/flake-template.nix flake.nix + cp ~/Projects/devenv/flake-template.nix flake.nix elif [ "$1" = "nix-ld" ]; then - cp ~/Documents/IT/nix-ld.nix shell.nix + cp ~/Projects/devenv/nix-ld.nix shell.nix elif [ "$1" = "datasci" ]; then cp ~/Projects/devenv/python-data-science.nix shell.nix fi - cp ~/Documents/IT/shell.nix . + cp ~/Projects/devenv/shell.nix . } git_initialization() { @@ -57,7 +57,7 @@ if [ "$type" = "git" ]; then direnv_integration "flake" elif [ "$type" = "remote-git" ]; then touch README.org - cp ~/Documents/IT/gpl-3.0.md LICENSE.md + cp ~/Projects/devenv/gpl-3.0.md LICENSE.md copy_nix_files "flake" create_dir data create_dir src