Compare commits
2 Commits
bfcf8a38ae
...
7f08045407
Author | SHA1 | Date |
---|---|---|
coolneng | 7f08045407 | |
coolneng | 39ee7e9042 |
|
@ -12,6 +12,8 @@ usage() {
|
|||
copy_nix_files() {
|
||||
if [ "$1" = "flake" ]; then
|
||||
cp ~/Documents/IT/flake-template.nix flake.nix
|
||||
elif [ "$1" = "nix-ld" ]; then
|
||||
cp ~/Documents/IT/nix-ld.nix shell.nix
|
||||
fi
|
||||
cp ~/Documents/IT/shell.nix .
|
||||
}
|
||||
|
@ -58,6 +60,9 @@ elif [ "$type" = "src" ]; then
|
|||
mkdir src data
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "nix-ld" ]; then
|
||||
copy_nix_files "nix-ld"
|
||||
direnv_integration "nix"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue