s
This commit is contained in:
parent
a66406521b
commit
31bffebdbb
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ deluge_conf
|
|||||||
bin/
|
bin/
|
||||||
code/
|
code/
|
||||||
nuscripts
|
nuscripts
|
||||||
|
nuscripts/*
|
11
shell.nix
11
shell.nix
@ -9,7 +9,6 @@ pkgs.mkShell {
|
|||||||
nushell
|
nushell
|
||||||
mc
|
mc
|
||||||
jq
|
jq
|
||||||
# vscode-with-extensions
|
|
||||||
deluge
|
deluge
|
||||||
libtorrent-rasterbar
|
libtorrent-rasterbar
|
||||||
python311Packages.libtorrent-rasterbar
|
python311Packages.libtorrent-rasterbar
|
||||||
@ -22,11 +21,11 @@ pkgs.mkShell {
|
|||||||
# dumptorrent
|
# dumptorrent
|
||||||
# udpt
|
# udpt
|
||||||
# buildtorrent
|
# buildtorrent
|
||||||
|
|
||||||
];
|
];
|
||||||
# shellHook = ''
|
shellHook = ''
|
||||||
# echo "Nix shell environment is ready."
|
cd $BASE
|
||||||
# hero_shell.sh
|
git status
|
||||||
# '';
|
$BASE/hero_shell.sh
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
start.sh
10
start.sh
@ -1,9 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
|
||||||
|
|
||||||
MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
cd "$MYDIR"
|
|
||||||
|
|
||||||
|
export BASE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
cd "$BASE"
|
||||||
export NIXPKGS_ALLOW_UNFREE=1
|
export NIXPKGS_ALLOW_UNFREE=1
|
||||||
|
|
||||||
|
mkdir -p $BASE/code
|
||||||
|
code $BASE/code
|
||||||
|
|
||||||
|
set -e
|
||||||
nix-shell
|
nix-shell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user