s
This commit is contained in:
parent
a66406521b
commit
31bffebdbb
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@
|
|||||||
deluge_conf
|
deluge_conf
|
||||||
bin/
|
bin/
|
||||||
code/
|
code/
|
||||||
nuscripts
|
nuscripts
|
||||||
|
nuscripts/*
|
63
shell.nix
63
shell.nix
@ -1,32 +1,31 @@
|
|||||||
let
|
let
|
||||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
||||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||||
in
|
in
|
||||||
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
nushell
|
nushell
|
||||||
mc
|
mc
|
||||||
jq
|
jq
|
||||||
# vscode-with-extensions
|
deluge
|
||||||
deluge
|
libtorrent-rasterbar
|
||||||
libtorrent-rasterbar
|
python311Packages.libtorrent-rasterbar
|
||||||
python311Packages.libtorrent-rasterbar
|
python311Full
|
||||||
python311Full
|
python311Packages.ipython
|
||||||
python311Packages.ipython
|
python311Packages.ipdb
|
||||||
python311Packages.ipdb
|
python311Packages.rq
|
||||||
python311Packages.rq
|
rsync
|
||||||
rsync
|
# rustc
|
||||||
# rustc
|
# dumptorrent
|
||||||
# dumptorrent
|
# udpt
|
||||||
# udpt
|
# buildtorrent
|
||||||
# buildtorrent
|
];
|
||||||
|
shellHook = ''
|
||||||
];
|
cd $BASE
|
||||||
# shellHook = ''
|
git status
|
||||||
# echo "Nix shell environment is ready."
|
$BASE/hero_shell.sh
|
||||||
# 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