2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-22 04:07:28 +01:00

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;
nix = {
gc = {
automatic = true;
options = "--delete-older-than 2d";
};
# gc = {
# automatic = true;
# options = "--delete-older-than 2d";
# };
settings.experimental-features = ["nix-command" "flakes"];
};

View File

@ -44,7 +44,10 @@
l = "exa -l";
tree = "exa --tree --icons";
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";
gcm = "git commit -m";
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
];
}