torrent/start.sh
2024-01-13 17:24:22 +03:00

14 lines
196 B
Bash
Executable File

#!/usr/bin/env bash
export BASE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "$BASE"
export NIXPKGS_ALLOW_UNFREE=1
mkdir -p $BASE/code
code $BASE/code
set -e
nix-shell