Add ctf-shell, minor worf fixes

This commit is contained in:
Felix Albrigtsen 2023-08-21 23:54:18 +02:00 committed by Felix Albrigtsen
parent a6c2155b00
commit 44c20dc792
3 changed files with 59 additions and 5 deletions

View File

@ -5,10 +5,10 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix = { nix = {
gc = { # gc = {
automatic = true; # automatic = true;
options = "--delete-older-than 2d"; # options = "--delete-older-than 2d";
}; # };
settings.experimental-features = ["nix-command" "flakes"]; settings.experimental-features = ["nix-command" "flakes"];
}; };

View File

@ -44,7 +44,10 @@
l = "exa -l"; l = "exa -l";
tree = "exa --tree --icons"; tree = "exa --tree --icons";
rebuild = "darwin-rebuild switch --flake /Users/felixalb/nix"; rebuild = "darwin-rebuild switch --flake /Users/felixalb/nix";
shell = "nix-shell --run zsh"; s = "nix-shell --run zsh";
sp = "nix-shell --run zsh -p";
em = "emacsclient -c";
emnw = "emacsclient -nw";
gst = "git status -sb"; gst = "git status -sb";
gcm = "git commit -m"; gcm = "git commit -m";
gps = "git push"; gps = "git push";

51
shells/ctf.nix Normal file
View File

@ -0,0 +1,51 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
python3
(with python3Packages; [
beautifulsoup4
numpy
pillow
pwntools
pycryptodome
requests
])
nodejs
php
#sage
# neovim
bat
binwalk
coreutils
gnugrep
gnutar
ripgrep
# gdb
# pwndbg
ghidra
pwntools
ropgadget
## ropper
metasploit
exiftool
steghide
# stegsolve
#gimp
#sxiv
#audacity
#wireshark
dig
nmap
rustscan
## hashcat
john
];
}